Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 103.1 kB / 16.35 MB, free: 5.824 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: 192.6 kB / 17.29 MB, free: 5.48 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.468/2.468, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 63.81 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3581, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002298/0.3605, allocations: 0.6976 MB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3617, allocations: 0.8138 MB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.3618, allocations: 4 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.082e-05/0.3618, allocations: 7.922 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.35e-05/0.3619, allocations: 3.938 kB / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.3621, allocations: 15.92 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.3622, allocations: 43.92 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3624, allocations: 11.97 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.3625, allocations: 19.92 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.3625, allocations: 23.92 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.3626, allocations: 4 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.3626, allocations: 0 / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.3626, allocations: 15.92 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.3627, allocations: 15.94 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.3628, allocations: 43.8 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3628, allocations: 0 / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3628, allocations: 0 / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.3628, allocations: 0 / 0.9528 GB, free: 6.289 MB / 0.7325 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.0006521/0.3635, allocations: 367.3 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.3636, allocations: 11.97 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.3636, allocations: 4.938 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3638, allocations: 168.2 kB / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3638, allocations: 8.375 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3638, allocations: 384 / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.3641, allocations: 70.2 kB / 0.9534 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3641, allocations: 192 / 0.9534 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3641, allocations: 7.938 kB / 0.9534 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3641, allocations: 4 kB / 0.9534 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.3644, allocations: 67.86 kB / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.3648, allocations: 257 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.365, allocations: 62.47 kB / 0.9538 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.3651, allocations: 36.91 kB / 0.9538 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.3652, allocations: 0 / 0.9538 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3652, allocations: 42.5 kB / 0.9539 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3652, allocations: 0 / 0.9539 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005103/0.3657, allocations: 133.5 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3658, allocations: 51.41 kB / 0.9541 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.152e-05/0.3659, allocations: 105.8 kB / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.3659, allocations: 29.7 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.366, allocations: 92.12 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.366, allocations: 3.906 kB / 0.9543 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.366, allocations: 17.72 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3662, allocations: 314.8 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3663, allocations: 31.97 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.3665, allocations: 27.97 kB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.3667, allocations: 76.72 kB / 0.9547 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3667, allocations: 3.938 kB / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002729/0.367, allocations: 101.5 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.367, allocations: 10.02 kB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.3671, allocations: 8 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3671, allocations: 0 / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3672, allocations: 15.98 kB / 0.9549 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3672, allocations: 0 / 0.9549 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.033e-05/0.3673, allocations: 11.98 kB / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.3673, allocations: 0 / 0.9549 GB, free: 3.965 MB / 0.7325 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.018e-05/0.3674, allocations: 121.7 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.3674, allocations: 11.92 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/0.3678, allocations: 105.5 kB / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3678, allocations: 0 / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3678, allocations: 0 / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3678, allocations: 0 / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.368, allocations: 173.5 kB / 0.9553 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.368, allocations: 0 / 0.9553 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.729e-05/0.3681, allocations: 19.98 kB / 0.9553 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3681, allocations: 3.984 kB / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3681, allocations: 0 / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3681, allocations: 0 / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3682, allocations: 0 / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.3685, allocations: 203.4 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.3686, allocations: 81.05 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3686, allocations: 0 / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3687, allocations: 15.97 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.3687, allocations: 0 / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3688, allocations: 4 kB / 0.9556 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.3688, allocations: 87.27 kB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3688, allocations: 0 / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002282/0.3691, allocations: 15.91 kB / 0.9557 GB, free: 3.035 MB / 0.7325 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.000172/0.3692, allocations: 95.67 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003291/0.3696, allocations: 75.86 kB / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3696, allocations: 0 / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.3697, allocations: 40.05 kB / 0.9559 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.3701, allocations: 7.938 kB / 0.9559 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.3704, allocations: 129.7 kB / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.3708, allocations: 0.6883 MB / 0.9567 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.3708, allocations: 0 / 0.9567 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.3709, allocations: 19.38 kB / 0.9567 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of SimCode: time 4.5e-07/0.3709, allocations: 0 / 0.9567 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of Templates: time 0.003114/0.374, allocations: 0.6678 MB / 0.9573 GB, free: 1.266 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches