Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001189/0.001189, allocations: 185.5 kB / 17.35 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.493/1.493, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.471/2.471, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9442/0.9456, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002117/0.9477, allocations: 0.6655 MB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.9488, allocations: 0.8001 MB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.9489, allocations: 0 / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.9489, allocations: 3.938 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.949, allocations: 11.98 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.9491, allocations: 3.984 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.9492, allocations: 23.92 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.9493, allocations: 12 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.9494, allocations: 11.92 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.9494, allocations: 8 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.9495, allocations: 4 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.9495, allocations: 4 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.9495, allocations: 7.984 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.9495, allocations: 3.938 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.591e-05/0.9496, allocations: 31.83 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.9496, allocations: 4 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9496, allocations: 0 / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.9496, allocations: 0 / 1.169 GB, free: 2.203 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004933/0.9501, allocations: 327.5 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.9502, allocations: 12.92 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.9502, allocations: 8.938 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.9504, allocations: 168.2 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.9504, allocations: 384 / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-06/0.9504, allocations: 384 / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.9506, allocations: 50.23 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.9506, allocations: 192 / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.9507, allocations: 3.938 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.9507, allocations: 7.938 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.9508, allocations: 35.91 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.9512, allocations: 245 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.9513, allocations: 42.5 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.9514, allocations: 27.34 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.9515, allocations: 0 / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.9515, allocations: 34.56 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 2.225e-06/0.9515, allocations: 0 / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003402/0.9518, allocations: 89.42 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.9519, allocations: 51.41 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.952, allocations: 110 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.952, allocations: 25.7 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.9521, allocations: 88.14 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.9521, allocations: 3.906 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.9521, allocations: 13.72 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.9523, allocations: 314.8 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/0.9524, allocations: 15.98 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.9524, allocations: 15.98 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.9526, allocations: 44.77 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.9526, allocations: 4 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001849/0.9528, allocations: 69.59 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.9528, allocations: 4.094 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.9528, allocations: 4 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.9528, allocations: 0 / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.9529, allocations: 11.98 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.9529, allocations: 0 / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.953, allocations: 7.984 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.953, allocations: 0 / 1.171 GB, free: 188 kB / 0.8887 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 7.099e-05/0.9531, allocations: 109.8 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.9531, allocations: 3.938 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.9534, allocations: 76.72 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.9534, allocations: 4 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.9534, allocations: 0 / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.9534, allocations: 81.09 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.9534, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.9535, allocations: 4 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.9536, allocations: 3.984 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002482/0.9538, allocations: 152.9 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002529/0.9541, allocations: 238.6 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.623e-05/0.9542, allocations: 24.05 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.945e-05/0.9542, allocations: 87.27 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of Backend: time 1.7e-07/0.9542, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004458/0.9547, allocations: 94.33 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004673/0.9552, allocations: 0.5588 MB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of Templates: time 0.002549/0.9577, allocations: 0.5224 MB / 1.173 GB, free: 14.13 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches