Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001166, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 182 kB / 16.92 MB, free: 6.922 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.512/1.512, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.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.501/2.501, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003865, allocations: 12 kB / 0.8167 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7559/0.7563, allocations: 142.4 MB / 0.9557 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.0008379/0.7572, allocations: 401.5 kB / 0.9561 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.758, allocations: 0.7977 MB / 0.9569 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.758, allocations: 0.9688 kB / 0.9569 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.7581, allocations: 3.984 kB / 0.9569 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.257e-05/0.7581, allocations: 1.125 kB / 0.9569 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.7583, allocations: 5.312 kB / 0.9569 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.789e-05/0.7583, allocations: 24.88 kB / 0.9569 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.7585, allocations: 10.75 kB / 0.9569 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.655e-05/0.7585, allocations: 3.969 kB / 0.9569 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.7586, allocations: 10.36 kB / 0.957 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.7586, allocations: 1.406 kB / 0.957 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.7586, allocations: 1.219 kB / 0.957 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.7586, allocations: 4 kB / 0.957 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.7587, allocations: 36.12 kB / 0.957 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.308e-05/0.7587, allocations: 14.62 kB / 0.957 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7587, allocations: 0 / 0.957 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7587, allocations: 1.312 kB / 0.957 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.7588, allocations: 11.88 kB / 0.957 GB, free: 6.637 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003588/0.7591, allocations: 337.2 kB / 0.9573 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7592, allocations: 9.656 kB / 0.9574 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.7592, allocations: 1.812 kB / 0.9574 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.69e-05/0.7593, allocations: 165.4 kB / 0.9575 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.7593, allocations: 1.5 kB / 0.9575 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.7593, allocations: 5.375 kB / 0.9575 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.7595, allocations: 54.42 kB / 0.9576 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.7595, allocations: 1.594 kB / 0.9576 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.7595, allocations: 7.938 kB / 0.9576 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7596, allocations: 0 / 0.9576 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.7597, allocations: 48.95 kB / 0.9576 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.76, allocations: 248.4 kB / 0.9579 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.7602, allocations: 43.88 kB / 0.9579 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/0.7603, allocations: 35.86 kB / 0.9579 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.7603, allocations: 0 / 0.9579 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.7603, allocations: 31.62 kB / 0.958 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.7603, allocations: 0 / 0.958 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003709/0.7607, allocations: 103.4 kB / 0.9581 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.7607, allocations: 52.5 kB / 0.9581 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.384e-05/0.7608, allocations: 98.23 kB / 0.9582 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.7608, allocations: 26.73 kB / 0.9582 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.7608, allocations: 89.28 kB / 0.9583 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.7609, allocations: 8.844 kB / 0.9583 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.7609, allocations: 13.72 kB / 0.9583 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.7609, allocations: 312.7 kB / 0.9586 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-05/0.761, allocations: 17.92 kB / 0.9587 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.7611, allocations: 30.03 kB / 0.9587 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.7613, allocations: 44.86 kB / 0.9587 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7613, allocations: 1.062 kB / 0.9587 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001948/0.7615, allocations: 85.97 kB / 0.9588 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.7615, allocations: 5.406 kB / 0.9588 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7615, allocations: 0 / 0.9588 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.7615, allocations: 0 / 0.9588 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.497e-05/0.7616, allocations: 17.42 kB / 0.9588 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.7617, allocations: 0 / 0.9588 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/0.7617, allocations: 9.531 kB / 0.9588 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.7617, allocations: 1.469 kB / 0.9588 GB, free: 4.82 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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 5.281e-05/0.7618, allocations: 115.3 kB / 0.959 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.7618, allocations: 1.469 kB / 0.959 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.7621, allocations: 91.83 kB / 0.959 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7621, allocations: 1.219 kB / 0.959 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7621, allocations: 3.938 kB / 0.959 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7621, allocations: 0 / 0.959 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.7622, allocations: 162.5 kB / 0.9592 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7622, allocations: 192 / 0.9592 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.7623, allocations: 16.45 kB / 0.9592 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7623, allocations: 1 kB / 0.9592 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.7623, allocations: 3.984 kB / 0.9592 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.7623, allocations: 1.188 kB / 0.9592 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7623, allocations: 3.938 kB / 0.9592 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.7625, allocations: 172.4 kB / 0.9594 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.7626, allocations: 78.39 kB / 0.9595 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.7626, allocations: 5.375 kB / 0.9595 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.7627, allocations: 12.92 kB / 0.9595 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.7627, allocations: 1.688 kB / 0.9595 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.7627, allocations: 1.594 kB / 0.9595 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.169e-05/0.7628, allocations: 86.3 kB / 0.9596 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7628, allocations: 0 / 0.9596 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002092/0.763, allocations: 2.688 kB / 0.9596 GB, free: 4.07 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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.0001123/0.7631, allocations: 97.72 kB / 0.9597 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.7633, allocations: 54.95 kB / 0.9597 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7633, allocations: 1.812 kB / 0.9597 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.7634, allocations: 18.61 kB / 0.9597 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.7637, allocations: 7.344 kB / 0.9597 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.764, allocations: 137.9 kB / 0.9599 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.314e-05/0.7641, allocations: 0.6722 MB / 0.9605 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.7641, allocations: 12.88 kB / 0.9605 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of SimCode: time 6.81e-07/0.7641, allocations: 0 / 0.9605 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of Templates: time 0.00173/0.7658, allocations: 0.5474 MB / 0.9611 GB, free: 2.816 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches