Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001761/0.001761, allocations: 187 kB / 17.34 MB, free: 5.742 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.514/1.514, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.542/2.542, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 63.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8711/0.8735, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002124/0.8756, allocations: 0.6951 MB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.8767, allocations: 0.8118 MB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.8768, allocations: 4 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.8768, allocations: 3.938 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.968e-05/0.8769, allocations: 7.922 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.877, allocations: 15.98 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.605e-05/0.8771, allocations: 39.91 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.8773, allocations: 8 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.664e-05/0.8774, allocations: 19.92 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.8774, allocations: 23.91 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.8775, allocations: 8 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.8775, allocations: 4 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.8775, allocations: 11.88 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.8776, allocations: 15.92 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.8777, allocations: 39.86 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8777, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.558e-06/0.8777, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.8777, allocations: 7.938 kB / 1.21 GB, free: 11.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000571/0.8783, allocations: 359.2 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.8783, allocations: 12.03 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.8784, allocations: 4.844 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.8785, allocations: 170.2 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.8785, allocations: 384 / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.8785, allocations: 4.375 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.8788, allocations: 70.22 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.8788, allocations: 192 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.8789, allocations: 11.92 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.8789, allocations: 0 / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.8792, allocations: 67.86 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.8796, allocations: 268.9 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.8798, allocations: 58.47 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.8799, allocations: 40.92 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.88, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.88, allocations: 34.5 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.88, allocations: 0 / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005651/0.8806, allocations: 129.6 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.8806, allocations: 55.41 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.8807, allocations: 109.8 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.8808, allocations: 25.7 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.8808, allocations: 96.03 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.8808, allocations: 15.78 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.8809, allocations: 21.7 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.881, allocations: 310.8 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.8812, allocations: 31.95 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.8813, allocations: 35.91 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.8816, allocations: 68.78 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.8816, allocations: 3.938 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003493/0.882, allocations: 93.62 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.882, allocations: 8 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.8821, allocations: 4 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.8821, allocations: 0 / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.8822, allocations: 15.98 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.8822, allocations: 3.984 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.135e-05/0.8823, allocations: 15.92 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.8823, allocations: 4 kB / 1.212 GB, free: 9.551 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 (3): * Single equations (assignments): 3 * 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 8.063e-05/0.8824, allocations: 113.7 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.8824, allocations: 7.906 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.8828, allocations: 105.5 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.8829, allocations: 4 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.8829, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8829, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.8831, allocations: 173.6 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8831, allocations: 0 / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.8832, allocations: 15.98 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.8832, allocations: 4.375 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.8832, allocations: 0 / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8832, allocations: 0 / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8832, allocations: 0 / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.8836, allocations: 207.3 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.8837, allocations: 89.02 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.8837, allocations: 0 / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.8838, allocations: 7.984 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.8838, allocations: 7.984 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.8839, allocations: 4 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.8839, allocations: 83.28 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8839, allocations: 0 / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002296/0.8841, allocations: 8 kB / 1.213 GB, free: 8.625 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 (3): * Single equations (assignments): 3 * 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.0001361/0.8843, allocations: 107.2 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003729/0.8847, allocations: 71.86 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8847, allocations: 0 / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.8849, allocations: 35.97 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.8852, allocations: 13.75 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.8856, allocations: 159.2 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.886, allocations: 0.6768 MB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.8861, allocations: 11.44 kB / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.8861, allocations: 0 / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of Templates: time 0.002372/0.8884, allocations: 0.7365 MB / 1.215 GB, free: 6.758 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches