Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002249/0.002249, allocations: 189.5 kB / 16.25 MB, free: 6.637 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.536/1.536, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.755/2.755, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.81 kB / 0.8688 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6437, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003605/0.6474, allocations: 2.109 MB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.65, allocations: 1.576 MB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.6502, allocations: 8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.6505, allocations: 63.39 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.6508, allocations: 55.56 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008105/0.6516, allocations: 288.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007347/0.6523, allocations: 0.6803 MB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.6529, allocations: 333.3 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.6532, allocations: 263 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.6535, allocations: 270.6 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.6536, allocations: 80 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.6537, allocations: 95.97 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.6539, allocations: 147.5 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002817/0.6542, allocations: 302.4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000798/0.655, allocations: 0.7924 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.655, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.655, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.655, allocations: 0 / 1.024 GB, free: 11.68 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001643/0.6567, allocations: 0.9032 MB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6567, allocations: 12.03 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.6568, allocations: 64.19 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.6574, allocations: 404.5 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.6574, allocations: 49.38 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.6575, allocations: 60.31 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008921/0.6584, allocations: 499.5 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.6585, allocations: 192 / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.6585, allocations: 31.92 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.6585, allocations: 12 kB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007034/0.6592, allocations: 351.8 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.6618, allocations: 1.566 MB / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.6628, allocations: 0.8722 MB / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.6633, allocations: 227.3 kB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.842e-05/0.6633, allocations: 8 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005693/0.6639, allocations: 256.8 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=47): time 1.894e-06/0.6639, allocations: 0 / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47): time 0.001116/0.665, allocations: 0.5181 MB / 1.029 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.6651, allocations: 111.2 kB / 1.029 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.6656, allocations: 393.6 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.6656, allocations: 37.7 kB / 1.03 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.6659, allocations: 249 kB / 1.03 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.666, allocations: 161.6 kB / 1.03 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.6662, allocations: 98.23 kB / 1.03 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.6664, allocations: 354.8 kB / 1.031 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.6668, allocations: 183 kB / 1.031 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/0.6674, allocations: 284.2 kB / 1.031 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008059/0.6682, allocations: 435.4 kB / 1.032 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.6682, allocations: 4 kB / 1.032 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00111/0.6693, allocations: 0.5595 MB / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.358e-05/0.6694, allocations: 49.84 kB / 1.032 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.6694, allocations: 4 kB / 1.032 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.6694, allocations: 4 kB / 1.032 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.6698, allocations: 91.89 kB / 1.032 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.6698, allocations: 11.92 kB / 1.032 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.6703, allocations: 87.41 kB / 1.032 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.6703, allocations: 23.98 kB / 1.032 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005005/0.6708, allocations: 285.2 kB / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004161/0.6713, allocations: 252.3 kB / 1.033 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006449/0.6719, allocations: 391.4 kB / 1.033 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.6719, allocations: 0 / 1.033 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009278/0.6729, allocations: 0.5245 MB / 1.034 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.6729, allocations: 33.7 kB / 1.034 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6729, allocations: 7.875 kB / 1.034 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.6729, allocations: 4 kB / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.6733, allocations: 91.83 kB / 1.034 GB, free: 0.6875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.6733, allocations: 4 kB / 1.034 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.6737, allocations: 75.77 kB / 1.034 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.6737, allocations: 23.98 kB / 1.034 GB, free: 0.5859 MB / 0.7794 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,pulse.booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.6739, allocations: 211 kB / 1.034 GB, free: 384 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.674, allocations: 51.38 kB / 1.034 GB, free: 332 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008353/0.6748, allocations: 433.4 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.6749, allocations: 8 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6749, allocations: 0 / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.6749, allocations: 3.984 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.6767, allocations: 1.128 MB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6767, allocations: 4 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.677, allocations: 88.08 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.6771, allocations: 4 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.6771, allocations: 16.09 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.6771, allocations: 3.938 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.6771, allocations: 7.938 kB / 1.036 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.6783, allocations: 0.7249 MB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.6784, allocations: 132.5 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.6785, allocations: 12 kB / 1.037 GB, free: 13.63 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.6787, allocations: 23.98 kB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.6788, allocations: 39.67 kB / 1.037 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.6789, allocations: 16 kB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004304/0.6793, allocations: 275.1 kB / 1.037 GB, free: 13.29 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6793, allocations: 0 / 1.037 GB, free: 13.29 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006476/0.68, allocations: 199.3 kB / 1.037 GB, free: 13.09 MB / 0.795 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 (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.0002268/0.6802, allocations: 127.7 kB / 1.037 GB, free: 12.96 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.6817, allocations: 0.796 MB / 1.038 GB, free: 12.14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.6818, allocations: 4.188 kB / 1.038 GB, free: 12.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.6821, allocations: 195.7 kB / 1.038 GB, free: 11.95 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.6828, allocations: 92.62 kB / 1.038 GB, free: 11.86 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.6846, allocations: 1.14 MB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.6851, allocations: 0.8512 MB / 1.04 GB, free: 9.785 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002304/0.6854, allocations: 55.36 kB / 1.04 GB, free: 9.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.6855, allocations: 35.44 kB / 1.04 GB, free: 9.695 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.6855, allocations: 4 kB / 1.04 GB, free: 9.691 MB / 0.795 GB Notification: Performance of Templates: time 0.01343/0.6989, allocations: 5.961 MB / 1.046 GB, free: 3.785 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches