Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002474/0.002474, allocations: 189.7 kB / 16.13 MB, free: 6.645 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.509/1.509, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.572/2.572, allocations: 390.2 MB / 0.6642 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9611/0.9623, allocations: 140.4 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.001951/0.9643, allocations: 0.731 MB / 0.9496 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.9657, allocations: 0.8373 MB / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.929e-05/0.9658, allocations: 3.938 kB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.494e-05/0.9658, allocations: 5.531 kB / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.966, allocations: 0 / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.9662, allocations: 16.67 kB / 0.9505 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.771e-05/0.9663, allocations: 27.55 kB / 0.9505 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.9665, allocations: 7.922 kB / 0.9505 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.9666, allocations: 20.55 kB / 0.9505 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.415e-05/0.9667, allocations: 15.95 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.9667, allocations: 2.281 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.562e-05/0.9667, allocations: 1.406 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.9668, allocations: 5.594 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.9668, allocations: 14.7 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.967, allocations: 37.62 kB / 0.9506 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.967, allocations: 0 / 0.9506 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.967, allocations: 0 / 0.9506 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.967, allocations: 0 / 0.9506 GB, free: 7.828 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.0007274/0.9677, allocations: 352.4 kB / 0.951 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/0.9678, allocations: 10.09 kB / 0.951 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.9679, allocations: 10.38 kB / 0.951 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.968, allocations: 170.5 kB / 0.9511 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.968, allocations: 1.812 kB / 0.9511 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.9681, allocations: 1.719 kB / 0.9511 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.9684, allocations: 60.19 kB / 0.9512 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.9684, allocations: 192 / 0.9512 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.9684, allocations: 11.94 kB / 0.9512 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.9684, allocations: 1.25 kB / 0.9512 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.9687, allocations: 53.97 kB / 0.9513 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.9692, allocations: 262.6 kB / 0.9515 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.9694, allocations: 67.94 kB / 0.9516 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.9695, allocations: 28.48 kB / 0.9516 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.9695, allocations: 0 / 0.9516 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.9696, allocations: 39.8 kB / 0.9516 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.9696, allocations: 7.938 kB / 0.9516 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004806/0.9701, allocations: 111 kB / 0.9518 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.9701, allocations: 52.78 kB / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.786e-05/0.9702, allocations: 104.7 kB / 0.9519 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.9702, allocations: 25.83 kB / 0.9519 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.9703, allocations: 90.89 kB / 0.952 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.9703, allocations: 3.906 kB / 0.952 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.9703, allocations: 13.84 kB / 0.952 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.857e-05/0.9704, allocations: 318.8 kB / 0.9523 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.9705, allocations: 33.33 kB / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.9706, allocations: 47.5 kB / 0.9524 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.9708, allocations: 58.98 kB / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9709, allocations: 1.375 kB / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002495/0.9711, allocations: 92.8 kB / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.9711, allocations: 9.719 kB / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.9711, allocations: 0 / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.9712, allocations: 3.984 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.9713, allocations: 14.05 kB / 0.9526 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.9713, allocations: 0 / 0.9526 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.9714, allocations: 15.77 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.9714, allocations: 1.125 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.562e-05/0.9715, allocations: 97.06 kB / 0.9527 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.548e-05/0.9716, allocations: 37.12 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001265/0.9717, allocations: 35.83 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.9717, allocations: 4.094 kB / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001679/0.9719, allocations: 68.31 kB / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.9719, allocations: 5.75 kB / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-06/0.9719, allocations: 0 / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-06/0.9719, allocations: 1.406 kB / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.852e-05/0.972, allocations: 9.422 kB / 0.9528 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-06/0.972, allocations: 256 / 0.9529 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.972, allocations: 15.05 kB / 0.9529 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.972, allocations: 5.469 kB / 0.9529 GB, free: 5.68 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.952e-05/0.9721, allocations: 189.4 kB / 0.9531 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.9721, allocations: 5.844 kB / 0.9531 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.9722, allocations: 3.531 kB / 0.9531 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.9722, allocations: 1.594 kB / 0.9531 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.9722, allocations: 3.984 kB / 0.9531 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9722, allocations: 0 / 0.9531 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.9724, allocations: 164.3 kB / 0.9532 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9724, allocations: 4 kB / 0.9532 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.188e-05/0.9724, allocations: 12.61 kB / 0.9532 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9724, allocations: 0 / 0.9532 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.9725, allocations: 9.484 kB / 0.9532 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.9725, allocations: 0 / 0.9532 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9725, allocations: 0 / 0.9532 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.9727, allocations: 184.3 kB / 0.9534 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.9728, allocations: 77.11 kB / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.9728, allocations: 1.344 kB / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.9729, allocations: 9.672 kB / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.9729, allocations: 9.359 kB / 0.9535 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.9729, allocations: 5.219 kB / 0.9535 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.868e-05/0.973, allocations: 88.38 kB / 0.9536 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.973, allocations: 4.031 kB / 0.9536 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002632/0.9732, allocations: 10.91 kB / 0.9536 GB, free: 4.895 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.0001346/0.9734, allocations: 101.4 kB / 0.9537 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003515/0.9737, allocations: 74.33 kB / 0.9538 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9737, allocations: 4.125 kB / 0.9538 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.9739, allocations: 29.06 kB / 0.9538 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.9742, allocations: 12.86 kB / 0.9538 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.9746, allocations: 133.2 kB / 0.954 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.9747, allocations: 0.6824 MB / 0.9546 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.9748, allocations: 1.875 kB / 0.9546 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.9748, allocations: 9.75 kB / 0.9546 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.9748, allocations: 0 / 0.9546 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of Templates: time 0.002688/0.9775, allocations: 0.5074 MB / 0.9551 GB, free: 3.656 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches