Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sorAsc.u.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sorAsc.u.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 113.8 kB / 16.42 MB, free: 6.473 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.002018/0.002018, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.91 kB / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8487/0.8501, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002431/0.8526, allocations: 0.8328 MB / 1.089 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.8543, allocations: 1.009 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.8544, allocations: 1 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.8546, allocations: 10.58 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.8546, allocations: 28.48 kB / 1.091 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005819/0.8552, allocations: 84.48 kB / 1.091 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.8555, allocations: 121.9 kB / 1.091 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.8557, allocations: 49.03 kB / 1.091 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.8559, allocations: 50.88 kB / 1.091 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.856, allocations: 58.66 kB / 1.091 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.856, allocations: 9.844 kB / 1.091 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.8563, allocations: 94.95 kB / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.8564, allocations: 40.03 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.909e-05/0.8565, allocations: 56.97 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.857, allocations: 191.2 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.857, allocations: 1.094 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.014e-06/0.857, allocations: 0 / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.857, allocations: 3.938 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001038/0.8581, allocations: 482.1 kB / 1.092 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.8581, allocations: 9.25 kB / 1.092 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.8582, allocations: 15.8 kB / 1.092 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.8585, allocations: 207.8 kB / 1.092 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.8585, allocations: 2.812 kB / 1.092 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.8585, allocations: 9.406 kB / 1.092 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/0.8592, allocations: 192.6 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.8592, allocations: 192 / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.8592, allocations: 12.62 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-05/0.8593, allocations: 17.06 kB / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008354/0.8601, allocations: 199.5 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.8613, allocations: 459.2 kB / 1.093 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.8618, allocations: 138.7 kB / 1.093 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.8623, allocations: 128.3 kB / 1.093 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.8623, allocations: 1.531 kB / 1.093 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.8623, allocations: 31.78 kB / 1.093 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.8623, allocations: 0.6875 kB / 1.093 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.001489/0.8638, allocations: 395.9 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.8639, allocations: 60.75 kB / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.864, allocations: 148.3 kB / 1.094 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.864, allocations: 25.7 kB / 1.094 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.8641, allocations: 109.9 kB / 1.094 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.8641, allocations: 48.78 kB / 1.094 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.8642, allocations: 28.38 kB / 1.094 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.8643, allocations: 326.2 kB / 1.094 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.8647, allocations: 111.9 kB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.8652, allocations: 111.6 kB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007964/0.866, allocations: 243 kB / 1.095 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.866, allocations: 0 / 1.095 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008873/0.8669, allocations: 273.6 kB / 1.095 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.8669, allocations: 5.547 kB / 1.095 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.8669, allocations: 0.625 kB / 1.095 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.8669, allocations: 0.75 kB / 1.095 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.8672, allocations: 46.94 kB / 1.095 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.8672, allocations: 0 / 1.095 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.8674, allocations: 36.64 kB / 1.095 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.8675, allocations: 3.766 kB / 1.095 GB, free: 1.906 MB / 0.8575 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0001196/0.8676, allocations: 129.8 kB / 1.095 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.8677, allocations: 13 kB / 1.095 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.8677, allocations: 13.25 kB / 1.095 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8677, allocations: 0.5156 kB / 1.095 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8677, allocations: 4.75 kB / 1.095 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.8678, allocations: 89.36 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.8678, allocations: 4.922 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.868, allocations: 32.34 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.8681, allocations: 19.77 kB / 1.095 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001176/0.8693, allocations: 391.9 kB / 1.096 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009986/0.8703, allocations: 454.7 kB / 1.096 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004923/0.8708, allocations: 127.7 kB / 1.096 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.745e-05/0.8709, allocations: 109.8 kB / 1.096 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of Backend: time 3.61e-07/0.8709, allocations: 0 / 1.096 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.8721, allocations: 240.6 kB / 1.097 GB, free: 1 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0009212/0.873, allocations: 0.7045 MB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of Templates: time 0.007025/0.88, allocations: 2.364 MB / 1.1 GB, free: 196 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches