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.009882/0.009882, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001835/0.001835, allocations: 195 kB / 16.67 MB, free: 5.977 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.674/2.674, allocations: 472.6 MB / 0.7453 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 59.91 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 159.9 MB / 1.226 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001912/1.026, allocations: 0.7099 MB / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0008393/1.027, allocations: 0.8118 MB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/1.027, allocations: 0 / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/1.027, allocations: 0 / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.525e-05/1.027, allocations: 7.875 kB / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/1.027, allocations: 19.97 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.365e-05/1.027, allocations: 39.86 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/1.027, allocations: 11.98 kB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/1.027, allocations: 15.98 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.011e-05/1.028, allocations: 27.91 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/1.028, allocations: 7.938 kB / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/1.028, allocations: 4 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/1.028, allocations: 4 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/1.028, allocations: 15.92 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/1.028, allocations: 39.81 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/1.028, allocations: 0 / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.234e-06/1.028, allocations: 3.938 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.876e-06/1.028, allocations: 0 / 1.227 GB, free: 11.85 MB / 0.9512 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.0007217/1.029, allocations: 375.8 kB / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/1.029, allocations: 12.03 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/1.029, allocations: 4.891 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/1.029, allocations: 168.4 kB / 1.228 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/1.029, allocations: 384 / 1.228 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/1.029, allocations: 384 / 1.228 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/1.029, allocations: 70.22 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.029, allocations: 4.188 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/1.029, allocations: 3.938 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/1.029, allocations: 3.938 kB / 1.228 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/1.03, allocations: 67.86 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/1.03, allocations: 264.9 kB / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/1.03, allocations: 66.47 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/1.031, allocations: 36.92 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/1.031, allocations: 3.984 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/1.031, allocations: 30.56 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.031, allocations: 0 / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005542/1.031, allocations: 133.5 kB / 1.229 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/1.031, allocations: 51.41 kB / 1.229 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/1.031, allocations: 109.8 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/1.031, allocations: 25.7 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/1.031, allocations: 88.14 kB / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/1.031, allocations: 19.83 kB / 1.229 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/1.032, allocations: 13.72 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.032, allocations: 314.8 kB / 1.229 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/1.032, allocations: 31.95 kB / 1.229 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/1.032, allocations: 31.97 kB / 1.229 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/1.032, allocations: 76.66 kB / 1.229 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.032, allocations: 3.938 kB / 1.229 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002981/1.033, allocations: 93.62 kB / 1.229 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.033, allocations: 12 kB / 1.229 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.033, allocations: 0 / 1.229 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.033, allocations: 0 / 1.229 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/1.033, allocations: 19.97 kB / 1.229 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.033, allocations: 4 kB / 1.229 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/1.033, allocations: 11.94 kB / 1.229 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/1.033, allocations: 4 kB / 1.229 GB, free: 9.516 MB / 0.9512 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 9.735e-05/1.033, allocations: 113.8 kB / 1.229 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/1.033, allocations: 4 kB / 1.229 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/1.033, allocations: 105.5 kB / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/1.033, allocations: 0 / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.033, allocations: 8 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.033, allocations: 0 / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/1.034, allocations: 173.6 kB / 1.23 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.034, allocations: 4 kB / 1.23 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-05/1.034, allocations: 11.98 kB / 1.23 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.034, allocations: 0 / 1.23 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/1.034, allocations: 4 kB / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.034, allocations: 0 / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.034, allocations: 0 / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/1.034, allocations: 207.3 kB / 1.23 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/1.034, allocations: 81.05 kB / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/1.034, allocations: 4 kB / 1.23 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/1.034, allocations: 8.406 kB / 1.23 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/1.034, allocations: 11.98 kB / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/1.034, allocations: 0 / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.922e-05/1.034, allocations: 83.28 kB / 1.23 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/1.034, allocations: 4 kB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002114/1.035, allocations: 11.98 kB / 1.23 GB, free: 8.59 MB / 0.9512 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.000143/1.035, allocations: 103.2 kB / 1.23 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003267/1.035, allocations: 67.91 kB / 1.23 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/1.035, allocations: 0 / 1.23 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/1.035, allocations: 43.91 kB / 1.23 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/1.036, allocations: 15.86 kB / 1.23 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/1.036, allocations: 133.2 kB / 1.231 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/1.036, allocations: 0.6807 MB / 1.231 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.098e-05/1.036, allocations: 4 kB / 1.231 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/1.036, allocations: 11.44 kB / 1.231 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/1.036, allocations: 0 / 1.231 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of Templates: time 0.002961/1.039, allocations: 0.6885 MB / 1.232 GB, free: 6.797 MB / 0.9512 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