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.001588/0.001589, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001492/0.001492, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.534/1.534, allocations: 222.9 MB / 239.8 MB, free: 4.52 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.899/2.899, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 0.8686 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7987/0.8006, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.00365/0.8043, allocations: 2.117 MB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.8069, allocations: 1.603 MB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.8071, allocations: 8 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.8074, allocations: 63.39 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.8076, allocations: 55.62 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.8083, allocations: 287.5 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000599/0.8089, allocations: 0.614 MB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004885/0.8094, allocations: 321.3 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.8097, allocations: 218.9 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.81, allocations: 258.6 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.653e-05/0.8101, allocations: 36 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.8102, allocations: 51.98 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.705e-05/0.8103, allocations: 99.59 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.8106, allocations: 266.4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007272/0.8113, allocations: 0.7611 MB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.8113, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.11e-07/0.8113, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.8113, allocations: 0 / 1.023 GB, free: 11.98 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.001656/0.813, allocations: 0.911 MB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.813, allocations: 8.031 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.8132, allocations: 68.19 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005362/0.8137, allocations: 404.5 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.8138, allocations: 45.38 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.122e-05/0.8139, allocations: 52.38 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009066/0.8148, allocations: 499.5 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.8148, allocations: 192 / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/0.8149, allocations: 31.92 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.8149, allocations: 15.94 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007207/0.8156, allocations: 343.8 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.8182, allocations: 1.566 MB / 1.027 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.8192, allocations: 0.8736 MB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/0.8196, allocations: 227.4 kB / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.8197, allocations: 8 kB / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005644/0.8203, allocations: 252.8 kB / 1.028 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=47): time 1.874e-06/0.8203, allocations: 0 / 1.028 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47): time 0.0011/0.8214, allocations: 0.522 MB / 1.029 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.745e-05/0.8215, allocations: 111.2 kB / 1.029 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.822, allocations: 385.6 kB / 1.029 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.822, allocations: 37.7 kB / 1.029 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.8222, allocations: 253 kB / 1.03 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.8224, allocations: 161.6 kB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.8226, allocations: 106.2 kB / 1.03 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.8228, allocations: 350.8 kB / 1.03 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.8232, allocations: 183 kB / 1.03 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005075/0.8237, allocations: 288.2 kB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/0.8245, allocations: 435.4 kB / 1.031 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.8245, allocations: 0 / 1.031 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001143/0.8257, allocations: 0.5635 MB / 1.032 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/0.8257, allocations: 45.62 kB / 1.032 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.8258, allocations: 3.938 kB / 1.032 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.8258, allocations: 8 kB / 1.032 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.8262, allocations: 100 kB / 1.032 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.8263, allocations: 4 kB / 1.032 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.8267, allocations: 83.47 kB / 1.032 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.8268, allocations: 23.98 kB / 1.032 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004937/0.8273, allocations: 285.2 kB / 1.032 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004136/0.8277, allocations: 256.2 kB / 1.032 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006156/0.8283, allocations: 395.4 kB / 1.033 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/0.8283, allocations: 0 / 1.033 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009734/0.8293, allocations: 0.5207 MB / 1.033 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.8293, allocations: 36.05 kB / 1.033 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.8294, allocations: 7.938 kB / 1.033 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.632e-06/0.8294, allocations: 4 kB / 1.033 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.8297, allocations: 87.83 kB / 1.033 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.8297, allocations: 4 kB / 1.033 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.8301, allocations: 75.53 kB / 1.033 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.8302, allocations: 24.09 kB / 1.034 GB, free: 0.8906 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.0001984/0.8304, allocations: 214.1 kB / 1.034 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.8305, allocations: 47.38 kB / 1.034 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008572/0.8313, allocations: 429.4 kB / 1.034 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.8313, allocations: 4 kB / 1.034 GB, free: 204 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.8313, allocations: 4 kB / 1.034 GB, free: 200 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.8314, allocations: 3.984 kB / 1.034 GB, free: 196 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.8331, allocations: 1.136 MB / 1.035 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.8332, allocations: 0 / 1.035 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.8335, allocations: 83.89 kB / 1.035 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.8335, allocations: 4 kB / 1.035 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.8336, allocations: 12 kB / 1.035 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.8336, allocations: 4.188 kB / 1.035 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8336, allocations: 11.88 kB / 1.035 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.8348, allocations: 0.7249 MB / 1.036 GB, free: 14.1 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.8349, allocations: 128.5 kB / 1.036 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.835, allocations: 19.94 kB / 1.036 GB, free: 13.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.8352, allocations: 19.97 kB / 1.036 GB, free: 13.92 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.8353, allocations: 43.62 kB / 1.036 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.8353, allocations: 19.98 kB / 1.036 GB, free: 13.86 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003157/0.8357, allocations: 267.2 kB / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8357, allocations: 0 / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006697/0.8363, allocations: 195.3 kB / 1.037 GB, free: 13.41 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.0002333/0.8366, allocations: 123.7 kB / 1.037 GB, free: 13.27 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.8381, allocations: 0.7798 MB / 1.038 GB, free: 12.47 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8381, allocations: 0 / 1.038 GB, free: 12.47 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.8384, allocations: 197 kB / 1.038 GB, free: 12.28 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006559/0.8391, allocations: 85.5 kB / 1.038 GB, free: 12.2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.8409, allocations: 1.146 MB / 1.039 GB, free: 11 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.8414, allocations: 0.8437 MB / 1.04 GB, free: 10.13 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002244/0.8416, allocations: 59.45 kB / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.8417, allocations: 43.36 kB / 1.04 GB, free: 10.03 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/0.8417, allocations: 3.938 kB / 1.04 GB, free: 10.02 MB / 0.795 GB Notification: Performance of Templates: time 0.01196/0.8537, allocations: 5.707 MB / 1.046 GB, free: 4.367 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