Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.00143/0.00143, 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.512/1.512, allocations: 223.3 MB / 240 MB, free: 5.324 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.571/2.571, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003811, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8313/0.8317, allocations: 142.4 MB / 0.9545 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002361/0.8342, allocations: 1.588 MB / 0.956 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002945/0.8371, allocations: 1.555 MB / 0.9575 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006943/0.8379, allocations: 12 kB / 0.9575 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.8382, allocations: 52.05 kB / 0.9576 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.8386, allocations: 53.25 kB / 0.9576 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000925/0.8395, allocations: 234.8 kB / 0.9579 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009016/0.8405, allocations: 0.5802 MB / 0.9584 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005239/0.841, allocations: 235.2 kB / 0.9587 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.8413, allocations: 168.4 kB / 0.9588 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.8417, allocations: 196.2 kB / 0.959 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.8418, allocations: 19.25 kB / 0.959 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.842, allocations: 36.73 kB / 0.9591 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.842, allocations: 81.42 kB / 0.9591 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.8422, allocations: 107.6 kB / 0.9592 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.8428, allocations: 0.6079 MB / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8428, allocations: 0 / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8428, allocations: 0 / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.465e-05/0.8428, allocations: 0 / 0.9598 GB, free: 3.582 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001715/0.8446, allocations: 0.8154 MB / 0.9606 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.8446, allocations: 12.88 kB / 0.9606 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.8449, allocations: 69.64 kB / 0.9607 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006657/0.8456, allocations: 396.7 kB / 0.9611 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-05/0.8456, allocations: 44.67 kB / 0.9611 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.8458, allocations: 54.16 kB / 0.9612 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009638/0.8467, allocations: 0.4948 MB / 0.9617 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.8468, allocations: 0 / 0.9617 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.8468, allocations: 21.09 kB / 0.9617 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.8468, allocations: 12.53 kB / 0.9617 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006878/0.8475, allocations: 361.3 kB / 0.962 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.8498, allocations: 1.587 MB / 0.9636 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008416/0.8506, allocations: 0.8843 MB / 0.9644 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.851, allocations: 234.9 kB / 0.9647 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.8511, allocations: 6.188 kB / 0.9647 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005448/0.8516, allocations: 250.4 kB / 0.9649 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.425e-06/0.8517, allocations: 0 / 0.9649 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=47): time 0.00117/0.8528, allocations: 0.5405 MB / 0.9654 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.8529, allocations: 109.3 kB / 0.9655 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005486/0.8535, allocations: 389.4 kB / 0.9659 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/0.8535, allocations: 42.14 kB / 0.966 GB, free: 15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.8538, allocations: 253.6 kB / 0.9662 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.8539, allocations: 163.5 kB / 0.9664 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.8539, allocations: 7.938 kB / 0.9664 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.8541, allocations: 360.7 kB / 0.9667 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.8546, allocations: 188.7 kB / 0.9669 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005178/0.8551, allocations: 286 kB / 0.9672 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.8556, allocations: 235.8 kB / 0.9674 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8556, allocations: 0 / 0.9674 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001147/0.8568, allocations: 0.5766 MB / 0.9679 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.8569, allocations: 172.5 kB / 0.9681 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8569, allocations: 2.438 kB / 0.9681 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.8569, allocations: 3.938 kB / 0.9681 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.8574, allocations: 112.4 kB / 0.9682 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.8574, allocations: 7.984 kB / 0.9682 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.8578, allocations: 104.3 kB / 0.9683 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.8579, allocations: 19.38 kB / 0.9684 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/0.8579, allocations: 3.156 kB / 0.9684 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000946/0.8589, allocations: 476.3 kB / 0.9688 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8589, allocations: 2.094 kB / 0.9688 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.8589, allocations: 4.125 kB / 0.9688 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.8592, allocations: 86.84 kB / 0.9689 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.8593, allocations: 7.406 kB / 0.9689 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.8596, allocations: 83.89 kB / 0.969 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.8597, allocations: 26.8 kB / 0.969 GB, free: 12.94 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0003579/0.8601, allocations: 252 kB / 0.9693 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/0.8601, allocations: 40.78 kB / 0.9693 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008409/0.861, allocations: 453.5 kB / 0.9697 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.861, allocations: 5.469 kB / 0.9697 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.861, allocations: 4 kB / 0.9697 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.861, allocations: 3.984 kB / 0.9697 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.8628, allocations: 1.148 MB / 0.9709 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.8628, allocations: 1.531 kB / 0.9709 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.8632, allocations: 90.27 kB / 0.9709 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/0.8632, allocations: 7.875 kB / 0.971 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.8632, allocations: 12.97 kB / 0.971 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.8633, allocations: 7.891 kB / 0.971 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.8633, allocations: 1.156 kB / 0.971 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.8645, allocations: 0.7489 MB / 0.9717 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.8646, allocations: 134.2 kB / 0.9718 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.8647, allocations: 12.72 kB / 0.9718 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.8649, allocations: 34.12 kB / 0.9719 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.8649, allocations: 29.83 kB / 0.9719 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.865, allocations: 20.36 kB / 0.9719 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000326/0.8653, allocations: 269.1 kB / 0.9722 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8653, allocations: 0 / 0.9722 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008054/0.8661, allocations: 191.1 kB / 0.9724 GB, free: 10.65 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003187/0.8665, allocations: 137.6 kB / 0.9725 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.8679, allocations: 0.7907 MB / 0.9733 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8679, allocations: 1.344 kB / 0.9733 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.8683, allocations: 205.7 kB / 0.9735 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/0.8689, allocations: 95.5 kB / 0.9736 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.8706, allocations: 1.106 MB / 0.9746 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.871, allocations: 0.8513 MB / 0.9755 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002297/0.8713, allocations: 50.03 kB / 0.9755 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.8714, allocations: 40.42 kB / 0.9756 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.8714, allocations: 0 / 0.9756 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of Templates: time 0.01117/0.8826, allocations: 5.455 MB / 0.9809 GB, free: 3.824 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches