Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001301/0.001301, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.56/1.56, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.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.561/2.561, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.89 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.875/0.8763, allocations: 140.4 MB / 0.9489 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.00194/0.8783, allocations: 0.7138 MB / 0.9496 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000151/0.8784, allocations: 10.41 kB / 0.9496 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.8785, allocations: 0 / 0.9496 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.8786, allocations: 1.406 kB / 0.9496 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.621e-05/0.8787, allocations: 11.97 kB / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.797e-05/0.8788, allocations: 10.38 kB / 0.9497 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.8789, allocations: 36.17 kB / 0.9497 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.879, allocations: 27.11 kB / 0.9497 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.223e-05/0.8791, allocations: 13.28 kB / 0.9497 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.297e-05/0.8791, allocations: 14.67 kB / 0.9498 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.8791, allocations: 6.688 kB / 0.9498 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.8792, allocations: 1.375 kB / 0.9498 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.8792, allocations: 8.125 kB / 0.9498 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.8793, allocations: 19.98 kB / 0.9498 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.303e-05/0.8794, allocations: 44.19 kB / 0.9498 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.8794, allocations: 8 kB / 0.9498 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.133e-06/0.8794, allocations: 0 / 0.9498 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.8794, allocations: 0 / 0.9498 GB, free: 8.551 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003855/0.8798, allocations: 348.4 kB / 0.9502 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.8798, allocations: 9.625 kB / 0.9502 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.8799, allocations: 7.625 kB / 0.9502 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.88, allocations: 180.5 kB / 0.9504 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.88, allocations: 5.688 kB / 0.9504 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.8801, allocations: 7.125 kB / 0.9504 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.8802, allocations: 80.34 kB / 0.9504 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.8803, allocations: 192 / 0.9504 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.8803, allocations: 5.312 kB / 0.9505 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.8803, allocations: 1.375 kB / 0.9505 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.8804, allocations: 52.78 kB / 0.9505 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.8808, allocations: 483.2 kB / 0.951 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.416e-05/0.8808, allocations: 174.5 kB / 0.9511 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.8809, allocations: 81.52 kB / 0.9512 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.8809, allocations: 75.28 kB / 0.9513 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.8809, allocations: 105.8 kB / 0.9514 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.8809, allocations: 1.375 kB / 0.9514 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.301e-05/0.881, allocations: 32.36 kB / 0.9514 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.881, allocations: 138.6 kB / 0.9515 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.8812, allocations: 177.6 kB / 0.9517 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-06/0.8812, allocations: 25.7 kB / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.8812, allocations: 92.27 kB / 0.9518 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.8812, allocations: 0 / 0.9518 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.8812, allocations: 16.38 kB / 0.9518 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.8813, allocations: 321.7 kB / 0.9522 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.8813, allocations: 8.062 kB / 0.9522 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.181e-05/0.8813, allocations: 12.11 kB / 0.9522 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.8814, allocations: 18.34 kB / 0.9522 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.8814, allocations: 0 / 0.9522 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.661e-05/0.8815, allocations: 52.44 kB / 0.9522 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.8815, allocations: 5.25 kB / 0.9522 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.8815, allocations: 0 / 0.9522 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.8815, allocations: 0 / 0.9522 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.085e-05/0.8816, allocations: 2.625 kB / 0.9522 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.8816, allocations: 9.344 kB / 0.9523 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.8816, allocations: 11 kB / 0.9523 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.8816, allocations: 1.438 kB / 0.9523 GB, free: 6.074 MB / 0.7169 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): 1 * 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 6.093e-05/0.8817, allocations: 195.4 kB / 0.9525 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.8817, allocations: 103.9 kB / 0.9526 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.8818, allocations: 120.4 kB / 0.9527 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/0.8818, allocations: 177.8 kB / 0.9528 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.784e-05/0.8818, allocations: 185.4 kB / 0.953 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/0.8819, allocations: 188.2 kB / 0.9532 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.882, allocations: 422.4 kB / 0.9536 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/0.882, allocations: 106.5 kB / 0.9537 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.8821, allocations: 106.4 kB / 0.9538 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.89e-05/0.8821, allocations: 185.7 kB / 0.954 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.8821, allocations: 185.6 kB / 0.9542 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-05/0.8822, allocations: 180.2 kB / 0.9543 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.153e-05/0.8822, allocations: 185.3 kB / 0.9545 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.946e-05/0.8823, allocations: 314.2 kB / 0.9548 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.8823, allocations: 188.9 kB / 0.955 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.8824, allocations: 178.2 kB / 0.9552 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.147e-05/0.8824, allocations: 109.7 kB / 0.9553 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.8825, allocations: 181.5 kB / 0.9554 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.8825, allocations: 106.7 kB / 0.9555 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.289e-05/0.8826, allocations: 133.1 kB / 0.9557 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8826, allocations: 4 kB / 0.9557 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002181/0.8828, allocations: 5.188 kB / 0.9557 GB, free: 2.445 MB / 0.7169 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.0001229/0.8829, allocations: 177.7 kB / 0.9558 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.482e-05/0.883, allocations: 5.188 kB / 0.9558 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.883, allocations: 3.938 kB / 0.9558 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.883, allocations: 1.375 kB / 0.9558 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.8834, allocations: 0.5304 MB / 0.9564 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.8836, allocations: 228.9 kB / 0.9566 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.8838, allocations: 0.6926 MB / 0.9573 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.701e-05/0.8838, allocations: 5.531 kB / 0.9573 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.8838, allocations: 8.938 kB / 0.9573 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.8838, allocations: 0 / 0.9573 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of Templates: time 0.002613/0.8865, allocations: 458.2 kB / 0.9577 GB, free: 0.5781 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches