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.0074/0.0074, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.001316/0.001316, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.91 kB / 1.054 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.058, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002035/1.06, allocations: 0.6997 MB / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009704/1.061, allocations: 0.8079 MB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/1.062, allocations: 0 / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/1.062, allocations: 0 / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.653e-05/1.062, allocations: 15.88 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/1.062, allocations: 11.98 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/1.062, allocations: 47.84 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/1.062, allocations: 4 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.34e-05/1.062, allocations: 27.91 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/1.062, allocations: 19.91 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/1.062, allocations: 4 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/1.062, allocations: 4 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/1.062, allocations: 11.94 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/1.062, allocations: 23.86 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/1.062, allocations: 39.81 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.062, allocations: 0 / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.933e-06/1.062, allocations: 0 / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.207e-05/1.062, allocations: 0 / 1.209 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.0005596/1.063, allocations: 355.2 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.063, allocations: 12.03 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/1.063, allocations: 8.844 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/1.063, allocations: 174.2 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/1.063, allocations: 384 / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/1.063, allocations: 8.375 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/1.064, allocations: 62.22 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/1.064, allocations: 192 / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/1.064, allocations: 7.938 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.064, allocations: 0 / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/1.064, allocations: 71.86 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/1.064, allocations: 264.9 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/1.064, allocations: 58.47 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/1.065, allocations: 40.92 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/1.065, allocations: 0 / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/1.065, allocations: 34.56 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 2.384e-06/1.065, allocations: 7.922 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005681/1.065, allocations: 129.6 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/1.065, allocations: 55.41 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/1.065, allocations: 113.8 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/1.065, allocations: 25.7 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/1.066, allocations: 92.05 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/1.066, allocations: 11.83 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/1.066, allocations: 17.72 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.066, allocations: 314.8 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/1.066, allocations: 31.95 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/1.066, allocations: 31.97 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/1.066, allocations: 72.72 kB / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.066, allocations: 3.938 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00032/1.067, allocations: 93.62 kB / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.067, allocations: 8 kB / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/1.067, allocations: 0 / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/1.067, allocations: 0 / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/1.067, allocations: 23.97 kB / 1.211 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/1.067, allocations: 0 / 1.211 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.789e-05/1.067, allocations: 7.984 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/1.067, allocations: 7.938 kB / 1.211 GB, free: 9.559 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.34e-05/1.067, allocations: 113.8 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/1.067, allocations: 7.906 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/1.067, allocations: 109.5 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.067, allocations: 4 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.067, allocations: 0 / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.067, allocations: 0 / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/1.068, allocations: 169.6 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.068, allocations: 0 / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.686e-05/1.068, allocations: 15.98 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.068, allocations: 4 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/1.068, allocations: 4 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.068, allocations: 0 / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.068, allocations: 0 / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/1.068, allocations: 195.3 kB / 1.212 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/1.068, allocations: 85.02 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/1.068, allocations: 4 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/1.068, allocations: 11.98 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/1.068, allocations: 8.406 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/1.068, allocations: 3.938 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.968e-05/1.068, allocations: 87.28 kB / 1.212 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/1.068, allocations: 0 / 1.212 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002252/1.069, allocations: 4 kB / 1.212 GB, free: 8.637 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.0001441/1.069, allocations: 107.2 kB / 1.212 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003464/1.069, allocations: 63.92 kB / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.069, allocations: 7.938 kB / 1.212 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/1.069, allocations: 36.05 kB / 1.212 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/1.07, allocations: 23.92 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.0003448/1.07, allocations: 125.5 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/1.07, allocations: 0.6807 MB / 1.213 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.423e-05/1.07, allocations: 4 kB / 1.213 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/1.07, allocations: 7.438 kB / 1.213 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/1.07, allocations: 0 / 1.213 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of Templates: time 0.002963/1.073, allocations: 0.6933 MB / 1.214 GB, free: 6.844 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/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