Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.0009832, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001323/0.001323, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.406 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.548/2.548, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 16 kB / 0.8154 GB, free: 13.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8557/0.8561, allocations: 142.4 MB / 0.9545 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.002897/0.8591, allocations: 2.614 MB / 0.957 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.8615, allocations: 1.66 MB / 0.9586 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.8619, allocations: 19.75 kB / 0.9587 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.8622, allocations: 120.8 kB / 0.9588 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.8624, allocations: 71.91 kB / 0.9588 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.863, allocations: 229.5 kB / 0.9591 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007483/0.8637, allocations: 0.9316 MB / 0.96 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005858/0.8643, allocations: 446.2 kB / 0.9604 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.8645, allocations: 246.6 kB / 0.9606 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.8648, allocations: 299.6 kB / 0.9609 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.132e-05/0.8649, allocations: 26.34 kB / 0.9609 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.8649, allocations: 25.12 kB / 0.961 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.865, allocations: 129.6 kB / 0.9611 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.8652, allocations: 164.5 kB / 0.9612 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006442/0.8658, allocations: 0.9665 MB / 0.9622 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.8658, allocations: 5.094 kB / 0.9622 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8658, allocations: 0 / 0.9622 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.8659, allocations: 4 kB / 0.9622 GB, free: 1.594 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00172/0.8676, allocations: 1.148 MB / 0.9633 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.8676, allocations: 8.562 kB / 0.9633 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.8678, allocations: 119.6 kB / 0.9634 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005866/0.8684, allocations: 0.5338 MB / 0.964 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.8685, allocations: 69.78 kB / 0.964 GB, free: 172 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.8686, allocations: 93.75 kB / 0.9641 GB, free: 140 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.8701, allocations: 0.8907 MB / 0.965 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.8702, allocations: 1.125 kB / 0.965 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.077e-05/0.8703, allocations: 36.53 kB / 0.965 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.8703, allocations: 22.31 kB / 0.965 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.8716, allocations: 0.6453 MB / 0.9657 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004319/0.8759, allocations: 2.864 MB / 0.9685 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.8775, allocations: 1.337 MB / 0.9698 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006847/0.8782, allocations: 412.1 kB / 0.9702 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.102e-05/0.8783, allocations: 9.312 kB / 0.9702 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007601/0.879, allocations: 372.3 kB / 0.9705 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=74): time 2.965e-06/0.8791, allocations: 0 / 0.9705 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74): time 0.001738/0.8808, allocations: 0.8624 MB / 0.9714 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/0.8809, allocations: 163 kB / 0.9715 GB, free: 11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007847/0.8817, allocations: 0.5547 MB / 0.9721 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.8818, allocations: 41.67 kB / 0.9721 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.8821, allocations: 397.6 kB / 0.9725 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.8823, allocations: 257.5 kB / 0.9727 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.8824, allocations: 19.03 kB / 0.9728 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.8826, allocations: 382.2 kB / 0.9731 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/0.8831, allocations: 252 kB / 0.9734 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.8838, allocations: 370.1 kB / 0.9737 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.8844, allocations: 285.3 kB / 0.974 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8844, allocations: 0 / 0.974 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001385/0.8858, allocations: 0.7201 MB / 0.9747 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.8859, allocations: 118.2 kB / 0.9748 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.8859, allocations: 5.422 kB / 0.9748 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.8859, allocations: 7.812 kB / 0.9748 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006043/0.8865, allocations: 161.6 kB / 0.975 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.8866, allocations: 8 kB / 0.975 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.8869, allocations: 114.7 kB / 0.9751 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.887, allocations: 28.41 kB / 0.9751 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.887, allocations: 9.812 kB / 0.9751 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008482/0.8879, allocations: 0.5159 MB / 0.9756 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.8879, allocations: 1.156 kB / 0.9756 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.8879, allocations: 4.438 kB / 0.9756 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.8884, allocations: 130.5 kB / 0.9758 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.8884, allocations: 7.5 kB / 0.9758 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.8887, allocations: 89.72 kB / 0.9758 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.8887, allocations: 22.53 kB / 0.9759 GB, free: 8.242 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003673/0.8891, allocations: 301.5 kB / 0.9762 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.8892, allocations: 77.78 kB / 0.9762 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.8905, allocations: 0.673 MB / 0.9769 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.8905, allocations: 6.844 kB / 0.9769 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.8905, allocations: 1.344 kB / 0.9769 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.8905, allocations: 3.984 kB / 0.9769 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.8934, allocations: 1.725 MB / 0.9786 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.8934, allocations: 4 kB / 0.9786 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.894, allocations: 144 kB / 0.9787 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/0.894, allocations: 11.95 kB / 0.9787 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.8941, allocations: 19.98 kB / 0.9788 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.8941, allocations: 4 kB / 0.9788 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.8941, allocations: 4 kB / 0.9788 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.8959, allocations: 1.112 MB / 0.9798 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.8961, allocations: 156.1 kB / 0.98 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.8962, allocations: 27.95 kB / 0.98 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.8965, allocations: 51.95 kB / 0.9801 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.8966, allocations: 52.53 kB / 0.9801 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.8967, allocations: 27.98 kB / 0.9801 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004618/0.8971, allocations: 394.8 kB / 0.9805 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8971, allocations: 0 / 0.9805 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007427/0.8979, allocations: 302.5 kB / 0.9808 GB, free: 3.805 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001921/0.8981, allocations: 134.9 kB / 0.9809 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.8997, allocations: 0.899 MB / 0.9818 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8997, allocations: 0 / 0.9818 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.9003, allocations: 331.4 kB / 0.9821 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008056/0.9011, allocations: 145.3 kB / 0.9823 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.9037, allocations: 1.857 MB / 0.9841 GB, free: 412 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/0.9043, allocations: 0.9781 MB / 0.985 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003199/0.9046, allocations: 81.2 kB / 0.9851 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.9048, allocations: 55.42 kB / 0.9852 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of SimCode: time 6.11e-07/0.9048, allocations: 4 kB / 0.9852 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of Templates: time 0.01321/0.918, allocations: 6.781 MB / 0.9918 GB, free: 8.535 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches