Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004572/0.004572, allocations: 99.81 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 192.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.84 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205/1.207, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002891/1.209, allocations: 1.215 MB / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002879/1.21, allocations: 53.73 kB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/1.21, allocations: 3.938 kB / 1.167 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.023e-05/1.21, allocations: 0 / 1.167 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/1.21, allocations: 11.97 kB / 1.167 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/1.21, allocations: 15.94 kB / 1.167 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.462e-05/1.21, allocations: 11.98 kB / 1.167 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/1.21, allocations: 4 kB / 1.167 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/1.21, allocations: 7.984 kB / 1.167 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/1.21, allocations: 20.61 kB / 1.167 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/1.211, allocations: 0 / 1.167 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-05/1.211, allocations: 7.938 kB / 1.167 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-05/1.211, allocations: 48.44 kB / 1.167 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/1.211, allocations: 43.69 kB / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/1.211, allocations: 67.3 kB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.211, allocations: 4 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.934e-06/1.211, allocations: 4 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.211, allocations: 0 / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005117/1.211, allocations: 434.6 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.212, allocations: 8.625 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.427e-05/1.212, allocations: 106 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/1.212, allocations: 88.12 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/1.212, allocations: 271.4 kB / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/1.212, allocations: 162.5 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/1.212, allocations: 150.6 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.23e-05/1.212, allocations: 108.9 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/1.212, allocations: 75.28 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/1.212, allocations: 150.6 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.575e-05/1.212, allocations: 154.6 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.621e-05/1.212, allocations: 154.6 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/1.213, allocations: 497.7 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.033e-05/1.213, allocations: 179.5 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/1.213, allocations: 84.19 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/1.213, allocations: 83.28 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/1.213, allocations: 105.8 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/1.213, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.953e-05/1.213, allocations: 37.61 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/1.213, allocations: 126.7 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/1.213, allocations: 231.1 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/1.213, allocations: 29.7 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/1.213, allocations: 108 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/1.213, allocations: 0 / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/1.213, allocations: 45.69 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.214, allocations: 326.8 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.936e-05/1.214, allocations: 51.97 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/1.214, allocations: 57.45 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/1.214, allocations: 134.3 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.214, allocations: 8.016 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003444/1.214, allocations: 178 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.214, allocations: 4 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.214, allocations: 4 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.214, allocations: 3.938 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/1.214, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.214, allocations: 3.938 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/1.214, allocations: 15.84 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/1.214, allocations: 4 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/1.215, allocations: 213 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.568e-05/1.215, allocations: 112.9 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/1.215, allocations: 121.5 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.254e-05/1.215, allocations: 180.2 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.968e-05/1.215, allocations: 180.3 kB / 1.172 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.844e-05/1.215, allocations: 184.1 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/1.215, allocations: 441.1 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.35e-05/1.215, allocations: 105 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/1.215, allocations: 104.9 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-05/1.215, allocations: 176.3 kB / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/1.215, allocations: 188.2 kB / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.489e-05/1.215, allocations: 188.2 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-05/1.216, allocations: 180.2 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/1.216, allocations: 319.7 kB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/1.216, allocations: 197.9 kB / 1.174 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/1.216, allocations: 176.3 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/1.216, allocations: 109.2 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/1.216, allocations: 176.3 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/1.216, allocations: 105 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001195/1.216, allocations: 156.6 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/1.216, allocations: 0 / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002514/1.216, allocations: 19.94 kB / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004398/1.217, allocations: 0.832 MB / 1.176 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001476/1.217, allocations: 75.97 kB / 1.176 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.217, allocations: 0 / 1.176 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/1.217, allocations: 3.984 kB / 1.176 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/1.217, allocations: 465.4 kB / 1.176 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/1.219, allocations: 2.126 MB / 1.178 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/1.22, allocations: 0.7119 MB / 1.179 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.151e-05/1.22, allocations: 7.984 kB / 1.179 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/1.22, allocations: 31.42 kB / 1.179 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of SimCode: time 5.81e-07/1.22, allocations: 4.031 kB / 1.179 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/1.24, allocations: 2.773 MB / 1.182 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/9.31, allocations: 7.25 kB / 1.182 GB, free: 3.109 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches