Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 98.88 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.00139/0.00139, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.348 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.409/2.409, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 16 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.7359, allocations: 142.4 MB / 0.9557 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.001774/0.7377, allocations: 1.489 MB / 0.9572 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.7391, allocations: 1.228 MB / 0.9584 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.7393, allocations: 11.94 kB / 0.9584 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.7394, allocations: 47.23 kB / 0.9584 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.7396, allocations: 44.2 kB / 0.9585 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.7399, allocations: 140.8 kB / 0.9586 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003655/0.7403, allocations: 461.8 kB / 0.9591 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.7406, allocations: 240.7 kB / 0.9593 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.7407, allocations: 110.8 kB / 0.9594 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.7409, allocations: 141.6 kB / 0.9595 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.7409, allocations: 10.84 kB / 0.9595 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.927e-05/0.741, allocations: 12.38 kB / 0.9595 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.741, allocations: 63.95 kB / 0.9596 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.957e-05/0.7411, allocations: 173.5 kB / 0.9598 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.7414, allocations: 428.5 kB / 0.9602 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7414, allocations: 0 / 0.9602 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7414, allocations: 4 kB / 0.9602 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.7414, allocations: 1.375 kB / 0.9602 GB, free: 4.129 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001018/0.7425, allocations: 0.6563 MB / 0.9608 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.7425, allocations: 14.38 kB / 0.9608 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.408e-05/0.7426, allocations: 46.5 kB / 0.9609 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.7429, allocations: 351 kB / 0.9612 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.743, allocations: 28.84 kB / 0.9613 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/0.7431, allocations: 37.75 kB / 0.9613 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/0.7438, allocations: 403.9 kB / 0.9617 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.7438, allocations: 1.562 kB / 0.9617 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.7438, allocations: 18.69 kB / 0.9617 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.7438, allocations: 9.625 kB / 0.9617 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.7444, allocations: 291.3 kB / 0.962 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.7463, allocations: 1.365 MB / 0.9633 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008349/0.7472, allocations: 286.5 kB / 0.9636 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.7474, allocations: 123.8 kB / 0.9637 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.7475, allocations: 2.031 kB / 0.9637 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.7475, allocations: 32.56 kB / 0.9637 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.7475, allocations: 0 / 0.9637 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0007551/0.7482, allocations: 346.7 kB / 0.9641 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.7483, allocations: 105.8 kB / 0.9642 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.7487, allocations: 399.1 kB / 0.9645 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.7487, allocations: 31.08 kB / 0.9646 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.7489, allocations: 231.2 kB / 0.9648 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.7489, allocations: 83.61 kB / 0.9649 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.749, allocations: 35.64 kB / 0.9649 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.417e-05/0.749, allocations: 346.3 kB / 0.9652 GB, free: 208 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.7493, allocations: 121.6 kB / 0.9654 GB, free: 152 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.7497, allocations: 209.8 kB / 0.9656 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.7502, allocations: 292.8 kB / 0.9658 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7502, allocations: 0 / 0.9658 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007752/0.751, allocations: 382.2 kB / 0.9662 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.7511, allocations: 145.5 kB / 0.9663 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7511, allocations: 0.9688 kB / 0.9663 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.7512, allocations: 7.828 kB / 0.9663 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.7515, allocations: 73.66 kB / 0.9664 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.7515, allocations: 2.938 kB / 0.9664 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.7518, allocations: 64.25 kB / 0.9665 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.7518, allocations: 8.531 kB / 0.9665 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.7518, allocations: 4.406 kB / 0.9665 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005295/0.7524, allocations: 258.7 kB / 0.9667 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.7524, allocations: 6.25 kB / 0.9667 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.551e-06/0.7524, allocations: 2.75 kB / 0.9667 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.7527, allocations: 68.34 kB / 0.9668 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.7527, allocations: 3.906 kB / 0.9668 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.7529, allocations: 49.33 kB / 0.9669 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.7529, allocations: 8.062 kB / 0.9669 GB, free: 15.23 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0002047/0.7531, allocations: 231.4 kB / 0.9671 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.7532, allocations: 40.27 kB / 0.9671 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005681/0.7538, allocations: 263.1 kB / 0.9674 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.7538, allocations: 6.844 kB / 0.9674 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.7538, allocations: 7.875 kB / 0.9674 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.7538, allocations: 4.969 kB / 0.9674 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.7553, allocations: 0.8633 MB / 0.9682 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.7553, allocations: 2.125 kB / 0.9682 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.7556, allocations: 53.91 kB / 0.9683 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.7556, allocations: 3.375 kB / 0.9683 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.7556, allocations: 4.031 kB / 0.9683 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.7556, allocations: 7 kB / 0.9683 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7556, allocations: 6.938 kB / 0.9683 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008674/0.7565, allocations: 0.5126 MB / 0.9688 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.112e-05/0.7566, allocations: 115.5 kB / 0.9689 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.7567, allocations: 9 kB / 0.9689 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.7569, allocations: 24.39 kB / 0.969 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.7569, allocations: 24.02 kB / 0.969 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.757, allocations: 14.92 kB / 0.969 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000322/0.7573, allocations: 279.9 kB / 0.9693 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7573, allocations: 0.75 kB / 0.9693 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005207/0.7578, allocations: 121.1 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: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * 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 (21): * Single equations (assignments): 21 * 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.0001815/0.758, allocations: 114.6 kB / 0.9695 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009127/0.7589, allocations: 421.6 kB / 0.9699 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7589, allocations: 4.188 kB / 0.9699 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.7592, allocations: 108.6 kB / 0.97 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.7599, allocations: 70.05 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.001498/0.7614, allocations: 0.8777 MB / 0.9709 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.7618, allocations: 0.7921 MB / 0.9717 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.7619, allocations: 33.08 kB / 0.9717 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of SimCode: time 7.32e-07/0.7619, allocations: 0.9062 kB / 0.9717 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of Templates: time 0.007006/0.7689, allocations: 4.206 MB / 0.9758 GB, free: 9.418 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches