Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_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.009437/0.009437, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001948/0.001949, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.642/2.642, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 68.09 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173/1.174, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002955/1.177, allocations: 1.207 MB / 1.208 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003013/1.178, allocations: 61.73 kB / 1.208 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/1.178, allocations: 0 / 1.208 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/1.178, allocations: 0 / 1.208 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/1.178, allocations: 3.984 kB / 1.208 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/1.178, allocations: 15.92 kB / 1.208 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000107/1.178, allocations: 19.92 kB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.805e-05/1.178, allocations: 0 / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/1.178, allocations: 8 kB / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/1.178, allocations: 12.72 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/1.178, allocations: 0 / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/1.179, allocations: 8 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/1.179, allocations: 52.38 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/1.179, allocations: 31.75 kB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/1.179, allocations: 77.91 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.179, allocations: 0 / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.074e-06/1.179, allocations: 0 / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.179, allocations: 4 kB / 1.209 GB, free: 12.07 MB / 0.9356 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.0005411/1.179, allocations: 426.7 kB / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.18, allocations: 12.03 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.379e-05/1.18, allocations: 110 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/1.18, allocations: 88.03 kB / 1.209 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/1.18, allocations: 263.4 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/1.18, allocations: 162.4 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/1.18, allocations: 154.6 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.805e-05/1.18, allocations: 101 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/1.18, allocations: 75.28 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/1.18, allocations: 154.5 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/1.18, allocations: 150.6 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.631e-05/1.18, allocations: 154.6 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/1.181, allocations: 0.4938 MB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/1.181, allocations: 173.1 kB / 1.211 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/1.181, allocations: 84.19 kB / 1.211 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/1.181, allocations: 75.28 kB / 1.211 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/1.181, allocations: 113.8 kB / 1.211 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/1.181, allocations: 0 / 1.211 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001027/1.181, allocations: 41.45 kB / 1.211 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/1.181, allocations: 126.7 kB / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/1.182, allocations: 234.9 kB / 1.212 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/1.182, allocations: 29.7 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/1.182, allocations: 108 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/1.182, allocations: 4 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/1.182, allocations: 45.69 kB / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.182, allocations: 326.8 kB / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/1.182, allocations: 51.97 kB / 1.212 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.382e-05/1.182, allocations: 55.95 kB / 1.212 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/1.182, allocations: 139.6 kB / 1.212 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.182, allocations: 0 / 1.212 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003431/1.183, allocations: 177.3 kB / 1.213 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.183, allocations: 8.062 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.183, allocations: 0 / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.183, allocations: 4 kB / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-06/1.183, allocations: 0 / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/1.183, allocations: 0 / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/1.183, allocations: 11.84 kB / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/1.183, allocations: 4 kB / 1.213 GB, free: 7.738 MB / 0.9356 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.0001281/1.183, allocations: 209 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/1.183, allocations: 116.8 kB / 1.213 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/1.183, allocations: 121.5 kB / 1.213 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.017e-05/1.183, allocations: 180.3 kB / 1.213 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.35e-05/1.183, allocations: 184.1 kB / 1.213 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-05/1.183, allocations: 180.3 kB / 1.214 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/1.183, allocations: 437.1 kB / 1.214 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.586e-05/1.184, allocations: 112.9 kB / 1.214 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/1.184, allocations: 101 kB / 1.214 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-05/1.184, allocations: 180.2 kB / 1.214 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-05/1.184, allocations: 176.3 kB / 1.215 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.091e-05/1.184, allocations: 192.2 kB / 1.215 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.278e-05/1.184, allocations: 184.2 kB / 1.215 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/1.184, allocations: 319.5 kB / 1.215 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/1.184, allocations: 190 kB / 1.215 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.694e-05/1.184, allocations: 180.3 kB / 1.216 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/1.184, allocations: 105.2 kB / 1.216 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/1.185, allocations: 180.3 kB / 1.216 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/1.185, allocations: 109 kB / 1.216 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001372/1.185, allocations: 160.6 kB / 1.216 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.185, allocations: 0 / 1.216 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002773/1.185, allocations: 19.94 kB / 1.216 GB, free: 3.961 MB / 0.9356 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.0005016/1.186, allocations: 0.832 MB / 1.217 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001635/1.186, allocations: 79.89 kB / 1.217 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.186, allocations: 4 kB / 1.217 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/1.186, allocations: 0 / 1.217 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/1.186, allocations: 459.8 kB / 1.217 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/1.188, allocations: 2.126 MB / 1.22 GB, free: 372 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/1.189, allocations: 0.7157 MB / 1.22 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.106e-05/1.189, allocations: 7.984 kB / 1.22 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/1.189, allocations: 31.42 kB / 1.22 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/1.189, allocations: 0 / 1.22 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/1.21, allocations: 2.815 MB / 1.223 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/9.403, allocations: 5.5 kB / 1.223 GB, free: 12.9 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches