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: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.001535/0.001535, allocations: 188 kB / 17.34 MB, free: 5.738 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.552/1.552, allocations: 222.9 MB / 241 MB, free: 15.15 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.792/2.792, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 72.09 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345/1.347, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003744/1.351, allocations: 1.218 MB / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004978/1.351, allocations: 55.77 kB / 1.169 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/1.351, allocations: 0 / 1.169 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.248e-05/1.351, allocations: 7.938 kB / 1.169 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001909/1.352, allocations: 7.984 kB / 1.169 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/1.352, allocations: 8 kB / 1.169 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/1.352, allocations: 23.91 kB / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/1.352, allocations: 0 / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.2e-05/1.352, allocations: 4 kB / 1.169 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/1.352, allocations: 12.72 kB / 1.169 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/1.353, allocations: 0 / 1.169 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/1.353, allocations: 8 kB / 1.169 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001616/1.353, allocations: 56.31 kB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.839e-05/1.353, allocations: 39.75 kB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/1.353, allocations: 72.09 kB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/1.353, allocations: 0 / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.172e-06/1.353, allocations: 4 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.906e-05/1.353, allocations: 0 / 1.169 GB, free: 2.32 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.0008746/1.354, allocations: 434.6 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.436e-05/1.354, allocations: 8.625 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/1.354, allocations: 92.12 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/1.355, allocations: 275.4 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/1.355, allocations: 158.7 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.355, allocations: 154.6 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/1.355, allocations: 101 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.852e-05/1.355, allocations: 75.28 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/1.355, allocations: 150.6 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/1.355, allocations: 158.5 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/1.356, allocations: 150.6 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006608/1.356, allocations: 0.49 MB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/1.356, allocations: 171.5 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.346e-05/1.356, allocations: 92.12 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.065e-05/1.357, allocations: 75.28 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/1.357, allocations: 117.8 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 2.013e-06/1.357, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.000155/1.357, allocations: 37.61 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/1.357, allocations: 126.7 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/1.357, allocations: 227.1 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/1.357, allocations: 25.7 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/1.358, allocations: 116.1 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/1.358, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/1.358, allocations: 37.69 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002582/1.358, allocations: 330.8 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/1.358, allocations: 55.91 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.742e-05/1.358, allocations: 57.27 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/1.358, allocations: 146.2 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.358, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004967/1.359, allocations: 174.2 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.359, allocations: 4 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.359, allocations: 0 / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/1.359, allocations: 4 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.784e-06/1.359, allocations: 0 / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/1.359, allocations: 0 / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/1.359, allocations: 19.83 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/1.359, allocations: 4 kB / 1.173 GB, free: 14.09 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.0001995/1.359, allocations: 209.1 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.696e-05/1.359, allocations: 120.8 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.572e-05/1.359, allocations: 113.5 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001207/1.36, allocations: 180.2 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000123/1.36, allocations: 176.3 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001194/1.36, allocations: 188.2 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/1.36, allocations: 445.1 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.976e-05/1.36, allocations: 105 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/1.36, allocations: 104.9 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/1.361, allocations: 176.3 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/1.361, allocations: 176.3 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001202/1.361, allocations: 192.2 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001285/1.361, allocations: 184.2 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/1.361, allocations: 323.6 kB / 1.175 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/1.361, allocations: 190 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/1.362, allocations: 188.2 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/1.362, allocations: 105.3 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.362, allocations: 180.2 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-05/1.362, allocations: 101 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001823/1.362, allocations: 160.6 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.362, allocations: 0 / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000282/1.362, allocations: 16 kB / 1.176 GB, free: 10.31 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.0003188/1.363, allocations: 182.5 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002186/1.363, allocations: 91.84 kB / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.363, allocations: 0 / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/1.363, allocations: 0 / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/1.364, allocations: 455.8 kB / 1.177 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007025/1.364, allocations: 303.8 kB / 1.177 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/1.365, allocations: 0.708 MB / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.384e-05/1.365, allocations: 11.98 kB / 1.178 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/1.365, allocations: 7.438 kB / 1.178 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of SimCode: time 4.21e-07/1.365, allocations: 0 / 1.178 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of Templates: time 0.004646/1.37, allocations: 0.7383 MB / 1.179 GB, free: 7.766 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (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 & ./Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/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