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.001269/0.001269, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01123/0.01123, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.886/2.886, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.000456, allocations: 13.09 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4019, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001087/0.403, allocations: 444.4 kB / 1.059 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.4042, allocations: 0.8001 MB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.4042, allocations: 0 / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.4043, allocations: 3.938 kB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.044e-05/0.4044, allocations: 7.922 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.4045, allocations: 15.98 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.596e-05/0.4046, allocations: 39.86 kB / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4047, allocations: 11.98 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.578e-05/0.4047, allocations: 12 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.4048, allocations: 23.84 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.4048, allocations: 0 / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.4049, allocations: 4 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.4049, allocations: 4 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.4049, allocations: 41.62 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.72e-05/0.405, allocations: 43.8 kB / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4051, allocations: 0 / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4051, allocations: 0 / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.4051, allocations: 0 / 1.06 GB, free: 4.039 MB / 0.8106 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.000567/0.4056, allocations: 375.6 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4057, allocations: 8.031 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.4057, allocations: 4.938 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.4059, allocations: 172.2 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4059, allocations: 4.375 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.4059, allocations: 4.375 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.4062, allocations: 78.22 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.4062, allocations: 192 / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4062, allocations: 3.938 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4063, allocations: 7.984 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.4066, allocations: 83.94 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.407, allocations: 264.9 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.4072, allocations: 70.47 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.4074, allocations: 48.92 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.4074, allocations: 0 / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.4075, allocations: 42.55 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4075, allocations: 0 / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.00061/0.4081, allocations: 161.4 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.4081, allocations: 55.34 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/0.4082, allocations: 109.8 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.4083, allocations: 29.7 kB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.4083, allocations: 88.12 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.4083, allocations: 11.89 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.4084, allocations: 13.72 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.4085, allocations: 310.8 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.4087, allocations: 47.95 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.4088, allocations: 39.97 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.4091, allocations: 88.78 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4091, allocations: 7.938 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003666/0.4095, allocations: 121.5 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.4095, allocations: 8 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4096, allocations: 7.938 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4096, allocations: 0 / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.4097, allocations: 23.97 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4097, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.102e-05/0.4098, allocations: 15.98 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4099, allocations: 4 kB / 1.062 GB, free: 1.547 MB / 0.8106 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 7.965e-05/0.4099, allocations: 117.8 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.41, allocations: 336 / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.4105, allocations: 137.4 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4105, allocations: 0 / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4105, allocations: 0 / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4105, allocations: 0 / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.4107, allocations: 173.6 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4107, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.4108, allocations: 23.98 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.4108, allocations: 0 / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.4109, allocations: 4 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4109, allocations: 0 / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4109, allocations: 0 / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.4113, allocations: 227.3 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.4114, allocations: 81.05 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.4114, allocations: 3.938 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.4115, allocations: 19.98 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.4115, allocations: 3.984 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.4116, allocations: 4 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.4116, allocations: 87.27 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4116, allocations: 0 / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002265/0.4118, allocations: 8 kB / 1.063 GB, free: 0.5703 MB / 0.8106 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.0001525/0.412, allocations: 99.25 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.4124, allocations: 95.86 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4124, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.4126, allocations: 51.91 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.4129, allocations: 11.92 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.4132, allocations: 144.4 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.4135, allocations: 0.6809 MB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.4135, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.4135, allocations: 11.44 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of SimCode: time 4.9e-07/0.4136, allocations: 4 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of Templates: time 0.002571/0.4161, allocations: 0.5311 MB / 1.065 GB, free: 14.89 MB / 0.8262 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/jenkins/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