Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 98.72 kB / 16.02 MB, free: 76 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.001946/0.001946, allocations: 184.9 kB / 16.92 MB, free: 6.895 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 11.98 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7049/0.7053, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004925/0.7103, allocations: 3.894 MB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003638/0.7139, allocations: 1.531 MB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.7151, allocations: 35.81 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.7158, allocations: 118.9 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.717, allocations: 186.7 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.7187, allocations: 0.6077 MB / 1.03 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.7205, allocations: 1.144 MB / 1.031 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009207/0.7214, allocations: 476.2 kB / 1.031 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006689/0.7221, allocations: 353.9 kB / 1.032 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.7227, allocations: 353.5 kB / 1.032 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.7229, allocations: 28 kB / 1.032 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.7231, allocations: 24 kB / 1.032 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.7232, allocations: 143.1 kB / 1.032 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004549/0.7237, allocations: 418.8 kB / 1.033 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007973/0.7245, allocations: 0.8084 MB / 1.034 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7245, allocations: 0 / 1.034 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.384e-06/0.7245, allocations: 3.938 kB / 1.034 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.959e-05/0.7246, allocations: 4 kB / 1.034 GB, free: 5.691 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002641/0.7272, allocations: 1.236 MB / 1.035 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.7273, allocations: 11.98 kB / 1.035 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.7276, allocations: 123.4 kB / 1.035 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.729, allocations: 0.7274 MB / 1.036 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.7292, allocations: 92.25 kB / 1.036 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.7293, allocations: 68.38 kB / 1.036 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.7306, allocations: 0.7408 MB / 1.036 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.7306, allocations: 0 / 1.036 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.409e-05/0.7307, allocations: 24 kB / 1.036 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.7307, allocations: 16 kB / 1.036 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.7318, allocations: 0.536 MB / 1.037 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003379/0.7352, allocations: 2.294 MB / 1.039 GB, free: 15.62 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.7366, allocations: 0.6338 MB / 1.04 GB, free: 14.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.7372, allocations: 287.8 kB / 1.04 GB, free: 14.7 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.36e-05/0.7372, allocations: 4.562 kB / 1.04 GB, free: 14.69 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007426/0.738, allocations: 339 kB / 1.04 GB, free: 14.36 MB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 4.338e-06/0.738, allocations: 0 / 1.04 GB, free: 14.36 MB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.001684/0.7397, allocations: 0.7711 MB / 1.041 GB, free: 13.58 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.7398, allocations: 89.67 kB / 1.041 GB, free: 13.47 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009921/0.7408, allocations: 0.7555 MB / 1.042 GB, free: 12.71 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.7408, allocations: 37.7 kB / 1.042 GB, free: 12.66 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.7412, allocations: 436.5 kB / 1.042 GB, free: 12.23 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.7414, allocations: 209 kB / 1.043 GB, free: 12.03 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.004e-05/0.7415, allocations: 61.67 kB / 1.043 GB, free: 11.96 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.7416, allocations: 330 kB / 1.043 GB, free: 11.63 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.7421, allocations: 209.2 kB / 1.043 GB, free: 11.43 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/0.7426, allocations: 312.4 kB / 1.044 GB, free: 11.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.7437, allocations: 0.5153 MB / 1.044 GB, free: 10.54 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.7437, allocations: 4 kB / 1.044 GB, free: 10.54 MB / 0.795 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00134/0.745, allocations: 0.662 MB / 1.045 GB, free: 9.871 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.7452, allocations: 155.1 kB / 1.045 GB, free: 9.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.7452, allocations: 11.92 kB / 1.045 GB, free: 9.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.7452, allocations: 4 kB / 1.045 GB, free: 9.664 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.7459, allocations: 147.7 kB / 1.045 GB, free: 9.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/0.7459, allocations: 4 kB / 1.045 GB, free: 9.516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.7464, allocations: 83.25 kB / 1.045 GB, free: 9.434 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.7464, allocations: 24 kB / 1.045 GB, free: 9.41 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.7465, allocations: 11.92 kB / 1.045 GB, free: 9.398 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001028/0.7475, allocations: 0.5207 MB / 1.046 GB, free: 8.883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.7475, allocations: 7.938 kB / 1.046 GB, free: 8.875 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.7475, allocations: 4 kB / 1.046 GB, free: 8.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005869/0.7481, allocations: 139.8 kB / 1.046 GB, free: 8.734 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.7481, allocations: 4.25 kB / 1.046 GB, free: 8.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.7486, allocations: 71.5 kB / 1.046 GB, free: 8.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.7487, allocations: 27.94 kB / 1.046 GB, free: 8.633 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.0004014/0.7491, allocations: 295.2 kB / 1.046 GB, free: 8.336 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.7492, allocations: 94.78 kB / 1.046 GB, free: 8.242 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.7495, allocations: 101.2 kB / 1.046 GB, free: 8.137 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.7495, allocations: 12 kB / 1.046 GB, free: 8.125 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.7495, allocations: 4.078 kB / 1.046 GB, free: 8.121 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.7495, allocations: 3.984 kB / 1.046 GB, free: 8.117 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.7518, allocations: 1.462 MB / 1.048 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7518, allocations: 0 / 1.048 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.7524, allocations: 103.9 kB / 1.048 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.7524, allocations: 8 kB / 1.048 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.7525, allocations: 15.94 kB / 1.048 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.7525, allocations: 4 kB / 1.048 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7525, allocations: 0 / 1.048 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.7542, allocations: 0.9743 MB / 1.049 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.7546, allocations: 227.6 kB / 1.049 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.7547, allocations: 20 kB / 1.049 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/0.7551, allocations: 39.95 kB / 1.049 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-05/0.7552, allocations: 36.52 kB / 1.049 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.7553, allocations: 19.98 kB / 1.049 GB, free: 5.121 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006962/0.756, allocations: 0.5146 MB / 1.05 GB, free: 4.613 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.756, allocations: 4 kB / 1.05 GB, free: 4.609 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008057/0.7568, allocations: 271 kB / 1.05 GB, free: 4.344 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001652/0.757, allocations: 115.1 kB / 1.05 GB, free: 4.223 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.7587, allocations: 0.808 MB / 1.051 GB, free: 3.414 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.7587, allocations: 0 / 1.051 GB, free: 3.414 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.7593, allocations: 279.1 kB / 1.051 GB, free: 3.145 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.7606, allocations: 241.7 kB / 1.051 GB, free: 2.906 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.7637, allocations: 1.977 MB / 1.053 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/0.7643, allocations: 0.9902 MB / 1.054 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.7646, allocations: 67.42 kB / 1.054 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of SimCode: time 1.012e-06/0.7646, allocations: 0 / 1.054 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.01742/0.7821, allocations: 10.79 MB / 1.065 GB, free: 5.07 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches