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.01349/0.01349, allocations: 104.8 kB / 15.74 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.003376/0.003376, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.561/1.561, 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 9.1.3-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208/1.209, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.001819/1.211, allocations: 0.6785 MB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009646/1.212, allocations: 0.8306 MB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/1.212, allocations: 0 / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/1.212, allocations: 9.641 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/1.212, allocations: 8.391 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/1.212, allocations: 12.11 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.258e-05/1.212, allocations: 33.27 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/1.212, allocations: 8.359 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/1.213, allocations: 16.09 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/1.213, allocations: 16.5 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/1.213, allocations: 2.312 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/1.213, allocations: 3.281 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/1.213, allocations: 10.8 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/1.213, allocations: 17.03 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/1.213, allocations: 34.5 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.213, allocations: 4.547 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.203e-06/1.213, allocations: 0.7812 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.95e-06/1.213, allocations: 0 / 1.09 GB, free: 4.367 MB / 0.8575 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.0005014/1.213, allocations: 356.7 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.213, allocations: 13.41 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/1.213, allocations: 5.875 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/1.214, allocations: 168.6 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/1.214, allocations: 1.469 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/1.214, allocations: 5.469 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/1.214, allocations: 61.12 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.214, allocations: 192 / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/1.214, allocations: 4.969 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.214, allocations: 0.5625 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/1.214, allocations: 60.05 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/1.214, allocations: 266.1 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/1.215, allocations: 63.31 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/1.215, allocations: 32.98 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/1.215, allocations: 1.625 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/1.215, allocations: 35.88 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/1.215, allocations: 0 / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004662/1.215, allocations: 116.2 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/1.215, allocations: 52.38 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.603e-05/1.215, allocations: 104.3 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/1.215, allocations: 25.7 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/1.216, allocations: 87.94 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/1.216, allocations: 3.906 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/1.216, allocations: 19.72 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.357e-05/1.216, allocations: 317.1 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/1.216, allocations: 32.03 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/1.216, allocations: 44.3 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/1.216, allocations: 58.98 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/1.216, allocations: 1.125 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000266/1.216, allocations: 95.34 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.216, allocations: 4.719 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.216, allocations: 1.156 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/1.216, allocations: 0.7031 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/1.217, allocations: 18.69 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.217, allocations: 0 / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/1.217, allocations: 17.62 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/1.217, allocations: 1.641 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001077/1.217, allocations: 104.5 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.685e-05/1.217, allocations: 29.22 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001326/1.217, allocations: 41.08 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.72e-07/1.217, allocations: 0 / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001802/1.217, allocations: 76.09 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/1.217, allocations: 4.594 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/1.217, allocations: 1.094 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-06/1.217, allocations: 0.6562 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.1e-05/1.217, allocations: 8 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-06/1.217, allocations: 1.094 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.906e-05/1.217, allocations: 14.61 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/1.217, allocations: 0.75 kB / 1.092 GB, free: 2.43 MB / 0.8575 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 7.218e-05/1.218, allocations: 191 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/1.218, allocations: 5.078 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/1.218, allocations: 6.781 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.218, allocations: 1.531 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.218, allocations: 0 / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/1.218, allocations: 0 / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/1.218, allocations: 162.6 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.218, allocations: 0.7188 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.053e-05/1.218, allocations: 17.58 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.218, allocations: 4 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/1.218, allocations: 5.328 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.218, allocations: 0.75 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.218, allocations: 0.7969 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/1.218, allocations: 184.8 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/1.218, allocations: 82.64 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/1.218, allocations: 1.438 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.964e-05/1.218, allocations: 10.75 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/1.218, allocations: 1.922 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/1.218, allocations: 1.625 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.85e-05/1.219, allocations: 89.47 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.219, allocations: 0 / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002639/1.219, allocations: 7.125 kB / 1.093 GB, free: 1.695 MB / 0.8575 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.0001597/1.219, allocations: 113 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003752/1.219, allocations: 75.12 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.219, allocations: 0 / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/1.219, allocations: 33.64 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/1.22, allocations: 7.141 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/1.22, allocations: 134 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/1.22, allocations: 0.677 MB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.954e-05/1.22, allocations: 3.109 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/1.22, allocations: 13.98 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/1.22, allocations: 0 / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of Templates: time 0.003142/1.224, allocations: 0.593 MB / 1.094 GB, free: 0.6914 MB / 0.8575 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