Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, 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.001697/0.001697, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.371/1.371, 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.421/2.421, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7364/0.7368, allocations: 142.4 MB / 0.9557 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001889/0.7387, allocations: 1.488 MB / 0.9572 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.7403, allocations: 1.233 MB / 0.9584 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.7405, allocations: 10.09 kB / 0.9584 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.7407, allocations: 57.41 kB / 0.9585 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.7408, allocations: 30.58 kB / 0.9585 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.7412, allocations: 145.8 kB / 0.9586 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.7415, allocations: 450.6 kB / 0.9591 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.7419, allocations: 255.9 kB / 0.9593 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.742, allocations: 117.2 kB / 0.9594 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.7421, allocations: 137.2 kB / 0.9595 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.7422, allocations: 11 kB / 0.9595 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.03e-05/0.7422, allocations: 12.38 kB / 0.9596 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.7423, allocations: 60 kB / 0.9596 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.7424, allocations: 181.8 kB / 0.9598 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.7427, allocations: 443.8 kB / 0.9602 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7427, allocations: 4 kB / 0.9602 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.654e-06/0.7427, allocations: 0 / 0.9602 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.7427, allocations: 1.062 kB / 0.9602 GB, free: 4.152 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.0009802/0.7437, allocations: 0.6716 MB / 0.9609 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.7438, allocations: 9.438 kB / 0.9609 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.7438, allocations: 56.75 kB / 0.9609 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.7442, allocations: 345.5 kB / 0.9613 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.7443, allocations: 29.66 kB / 0.9613 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.7443, allocations: 42.78 kB / 0.9613 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/0.745, allocations: 420.8 kB / 0.9617 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.745, allocations: 4.125 kB / 0.9617 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.745, allocations: 20.06 kB / 0.9618 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.745, allocations: 9.625 kB / 0.9618 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005722/0.7456, allocations: 299.4 kB / 0.9621 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.7475, allocations: 1.398 MB / 0.9634 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.7483, allocations: 275.4 kB / 0.9637 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.7485, allocations: 125.8 kB / 0.9638 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.7485, allocations: 7.016 kB / 0.9638 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.7486, allocations: 35.84 kB / 0.9638 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.7486, allocations: 0 / 0.9638 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0007212/0.7493, allocations: 324.7 kB / 0.9642 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.7494, allocations: 105.4 kB / 0.9643 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.7498, allocations: 408.7 kB / 0.9646 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.7499, allocations: 30.77 kB / 0.9647 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.75, allocations: 253.8 kB / 0.9649 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.7501, allocations: 67.5 kB / 0.965 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.7501, allocations: 35.42 kB / 0.965 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.359e-05/0.7502, allocations: 350.5 kB / 0.9653 GB, free: 172 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.7505, allocations: 116.7 kB / 0.9655 GB, free: 116 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.7509, allocations: 214.2 kB / 0.9657 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/0.7514, allocations: 296.8 kB / 0.9659 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.7515, allocations: 1.5 kB / 0.9659 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008096/0.7523, allocations: 381.1 kB / 0.9663 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.7524, allocations: 158.3 kB / 0.9665 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7524, allocations: 1.812 kB / 0.9665 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.7524, allocations: 7.969 kB / 0.9665 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.7528, allocations: 73.31 kB / 0.9665 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.7528, allocations: 8.016 kB / 0.9665 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.7531, allocations: 59.39 kB / 0.9666 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.7531, allocations: 10.69 kB / 0.9666 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.685e-06/0.7531, allocations: 7.031 kB / 0.9666 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004774/0.7536, allocations: 259.6 kB / 0.9669 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.7536, allocations: 2.125 kB / 0.9669 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.7537, allocations: 8.328 kB / 0.9669 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.7539, allocations: 63.36 kB / 0.9669 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7539, allocations: 8.188 kB / 0.9669 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.7541, allocations: 50.05 kB / 0.967 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.7542, allocations: 9.344 kB / 0.967 GB, free: 15.14 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0002339/0.7544, allocations: 236.8 kB / 0.9672 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.7545, allocations: 35.62 kB / 0.9673 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005731/0.7551, allocations: 252.9 kB / 0.9675 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.7551, allocations: 5.906 kB / 0.9675 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7551, allocations: 1.031 kB / 0.9675 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.7551, allocations: 4 kB / 0.9675 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.7565, allocations: 0.8115 MB / 0.9683 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.7565, allocations: 2 kB / 0.9683 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.7567, allocations: 47.09 kB / 0.9684 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.7567, allocations: 2.75 kB / 0.9684 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.7567, allocations: 7.125 kB / 0.9684 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.7567, allocations: 6.141 kB / 0.9684 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7567, allocations: 6.031 kB / 0.9684 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008317/0.7576, allocations: 482 kB / 0.9688 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.7577, allocations: 122.9 kB / 0.969 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.7578, allocations: 7.062 kB / 0.969 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.758, allocations: 20.3 kB / 0.969 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.758, allocations: 19.44 kB / 0.969 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.758, allocations: 6.438 kB / 0.969 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000345/0.7584, allocations: 289 kB / 0.9693 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7584, allocations: 0 / 0.9693 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005802/0.759, allocations: 135.7 kB / 0.9694 GB, free: 13.38 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * 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.0001939/0.7592, allocations: 113 kB / 0.9695 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008574/0.76, allocations: 406.2 kB / 0.9699 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7601, allocations: 3.984 kB / 0.9699 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.7603, allocations: 105.8 kB / 0.97 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.7609, allocations: 70.03 kB / 0.9701 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.7624, allocations: 0.8609 MB / 0.9709 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.7628, allocations: 0.8027 MB / 0.9717 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.942e-05/0.7629, allocations: 29.78 kB / 0.9717 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.7629, allocations: 0 / 0.9717 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.007785/0.7707, allocations: 4.271 MB / 0.9759 GB, free: 9.406 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches