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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.0008316/0.0008318, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005156/0.005156, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.517/1.517, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.125/3.125, allocations: 483.2 MB / 0.7564 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004081, allocations: 11.25 kB / 0.9276 GB, free: 28.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4046, allocations: 164.5 MB / 1.088 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001008/0.4056, allocations: 439.5 kB / 1.089 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009807/0.4066, allocations: 0.8118 MB / 1.089 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.4067, allocations: 0 / 1.089 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.4067, allocations: 0 / 1.089 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.206e-05/0.4068, allocations: 3.938 kB / 1.089 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.4069, allocations: 11.98 kB / 1.089 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.407, allocations: 39.86 kB / 1.09 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.4071, allocations: 15.97 kB / 1.09 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.4072, allocations: 15.98 kB / 1.09 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.4072, allocations: 23.86 kB / 1.09 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.4073, allocations: 3.938 kB / 1.09 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.4073, allocations: 4 kB / 1.09 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.4073, allocations: 0 / 1.09 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.4074, allocations: 41.62 kB / 1.09 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.871e-05/0.4075, allocations: 39.81 kB / 1.09 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4075, allocations: 0 / 1.09 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4075, allocations: 0 / 1.09 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.4075, allocations: 0 / 1.09 GB, free: 8.871 MB / 0.8419 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.0005622/0.4081, allocations: 371.7 kB / 1.09 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4081, allocations: 8.031 kB / 1.09 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.4081, allocations: 8.844 kB / 1.09 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.4083, allocations: 168.3 kB / 1.09 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4083, allocations: 384 / 1.09 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.4083, allocations: 8.375 kB / 1.09 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.4086, allocations: 82.2 kB / 1.09 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4086, allocations: 192 / 1.09 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.4087, allocations: 3.938 kB / 1.09 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4087, allocations: 0 / 1.09 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.409, allocations: 91.86 kB / 1.09 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.4094, allocations: 264.9 kB / 1.091 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.4097, allocations: 70.47 kB / 1.091 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.4098, allocations: 52.86 kB / 1.091 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.4099, allocations: 7.984 kB / 1.091 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.4099, allocations: 34.5 kB / 1.091 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4099, allocations: 0 / 1.091 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0006078/0.4105, allocations: 157.6 kB / 1.091 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.4106, allocations: 51.41 kB / 1.091 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.4107, allocations: 113.8 kB / 1.091 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.4107, allocations: 25.7 kB / 1.091 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.4108, allocations: 88.12 kB / 1.091 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.4108, allocations: 15.81 kB / 1.091 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.4109, allocations: 9.719 kB / 1.091 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.411, allocations: 314.8 kB / 1.092 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.4112, allocations: 39.95 kB / 1.092 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.4113, allocations: 43.97 kB / 1.092 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.4117, allocations: 96.72 kB / 1.092 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4117, allocations: 3.938 kB / 1.092 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003654/0.412, allocations: 117.9 kB / 1.092 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4121, allocations: 8 kB / 1.092 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4121, allocations: 0 / 1.092 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4121, allocations: 3.938 kB / 1.092 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.4122, allocations: 27.97 kB / 1.092 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4123, allocations: 0 / 1.092 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.4124, allocations: 16.03 kB / 1.092 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.4124, allocations: 3.984 kB / 1.092 GB, free: 6.383 MB / 0.8419 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 0.0001106/0.4125, allocations: 121.7 kB / 1.092 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.4125, allocations: 7.906 kB / 1.092 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.4129, allocations: 125.5 kB / 1.092 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.413, allocations: 0 / 1.092 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.413, allocations: 7.984 kB / 1.092 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.413, allocations: 0 / 1.092 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.4132, allocations: 169.6 kB / 1.092 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4132, allocations: 0 / 1.092 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.4133, allocations: 19.98 kB / 1.092 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4133, allocations: 4 kB / 1.092 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.4133, allocations: 0 / 1.092 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4133, allocations: 0 / 1.092 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4134, allocations: 3.984 kB / 1.092 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.4138, allocations: 223.4 kB / 1.093 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.4139, allocations: 84.95 kB / 1.093 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.4139, allocations: 0 / 1.093 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.414, allocations: 19.98 kB / 1.093 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.4141, allocations: 11.98 kB / 1.093 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.4141, allocations: 3.938 kB / 1.093 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.764e-05/0.4142, allocations: 87.56 kB / 1.093 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4142, allocations: 0 / 1.093 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002224/0.4144, allocations: 12 kB / 1.093 GB, free: 5.395 MB / 0.8419 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.0001862/0.4146, allocations: 95.25 kB / 1.093 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.415, allocations: 99.86 kB / 1.093 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.415, allocations: 0 / 1.093 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.4152, allocations: 47.95 kB / 1.093 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.4155, allocations: 5.5 kB / 1.093 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.4159, allocations: 140.6 kB / 1.093 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.4162, allocations: 0.6809 MB / 1.094 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.736e-05/0.4163, allocations: 0 / 1.094 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.4163, allocations: 11.44 kB / 1.094 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of SimCode: time 4.4e-07/0.4163, allocations: 0 / 1.094 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of Templates: time 0.003012/0.4193, allocations: 0.5314 MB / 1.094 GB, free: 3.738 MB / 0.8419 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=400 -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