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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008733/0.008733, allocations: 97.45 kB / 15.73 MB, free: 5.996 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.001741/0.001741, allocations: 184.7 kB / 16.67 MB, free: 5.926 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.655/1.655, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.533/2.533, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 65.44 kB / 0.9509 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3314, allocations: 140.4 MB / 1.088 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.003192/0.3346, allocations: 2.081 MB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002489/0.3371, allocations: 1.603 MB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.3374, allocations: 11.94 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.3377, allocations: 83 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.3379, allocations: 87.25 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008035/0.3387, allocations: 325.1 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006272/0.3393, allocations: 0.692 MB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000507/0.3398, allocations: 325.3 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.3401, allocations: 266.9 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.3405, allocations: 286.6 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.304e-05/0.3406, allocations: 76 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3407, allocations: 91.98 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.3408, allocations: 143.5 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.3411, allocations: 290.5 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000773/0.3419, allocations: 0.8325 MB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3419, allocations: 0 / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.856e-06/0.3419, allocations: 4 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.3419, allocations: 3.938 kB / 1.095 GB, free: 10.21 MB / 0.8575 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.00153/0.3435, allocations: 0.9221 MB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3435, allocations: 12.03 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.3436, allocations: 68.52 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.3443, allocations: 412.8 kB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/0.3443, allocations: 45.38 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-05/0.3444, allocations: 52.38 kB / 1.096 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008015/0.3452, allocations: 499.5 kB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3453, allocations: 4.125 kB / 1.097 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/0.3453, allocations: 31.94 kB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.3454, allocations: 12 kB / 1.097 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.346, allocations: 347.8 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.3483, allocations: 1.551 MB / 1.099 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009747/0.3493, allocations: 0.873 MB / 1.1 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.3497, allocations: 230.2 kB / 1.1 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.3497, allocations: 11.98 kB / 1.1 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004246/0.3501, allocations: 248.8 kB / 1.1 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=47): time 3.416e-06/0.3501, allocations: 0 / 1.1 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47): time 0.001011/0.3512, allocations: 0.5261 MB / 1.101 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.3512, allocations: 115.2 kB / 1.101 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.3516, allocations: 377.7 kB / 1.101 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/0.3517, allocations: 45.7 kB / 1.101 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.3519, allocations: 257.3 kB / 1.101 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.352, allocations: 162.5 kB / 1.102 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.3522, allocations: 102.2 kB / 1.102 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3524, allocations: 354.8 kB / 1.102 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/0.3528, allocations: 183 kB / 1.102 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.3532, allocations: 288.2 kB / 1.102 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007179/0.354, allocations: 439.4 kB / 1.103 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.354, allocations: 0 / 1.103 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001034/0.355, allocations: 0.5638 MB / 1.103 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.3551, allocations: 41.86 kB / 1.103 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3551, allocations: 4 kB / 1.103 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3551, allocations: 4 kB / 1.103 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.3555, allocations: 103.8 kB / 1.104 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3555, allocations: 4 kB / 1.104 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.3559, allocations: 87.56 kB / 1.104 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.356, allocations: 16 kB / 1.104 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004512/0.3564, allocations: 293.2 kB / 1.104 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003513/0.3568, allocations: 248.2 kB / 1.104 GB, free: 300 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005608/0.3574, allocations: 391.5 kB / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.844e-06/0.3574, allocations: 0 / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009191/0.3583, allocations: 0.5208 MB / 1.105 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.3584, allocations: 37.69 kB / 1.105 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.3584, allocations: 7.938 kB / 1.105 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.3584, allocations: 4 kB / 1.105 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.3587, allocations: 83.84 kB / 1.105 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3587, allocations: 4 kB / 1.105 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.3591, allocations: 83.83 kB / 1.105 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.3592, allocations: 20 kB / 1.105 GB, free: 15.1 MB / 0.8731 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.0002815/0.3595, allocations: 212.1 kB / 1.105 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.3596, allocations: 51.64 kB / 1.106 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000934/0.3605, allocations: 429.4 kB / 1.106 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.3605, allocations: 11.92 kB / 1.106 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3606, allocations: 0 / 1.106 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3606, allocations: 96 / 1.106 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.3625, allocations: 1.143 MB / 1.107 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3625, allocations: 0 / 1.107 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.3628, allocations: 87.89 kB / 1.107 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.423e-06/0.3629, allocations: 4 kB / 1.107 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.3629, allocations: 8 kB / 1.107 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.3629, allocations: 8.188 kB / 1.107 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.3629, allocations: 7.922 kB / 1.107 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.3642, allocations: 0.7263 MB / 1.108 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.3643, allocations: 128.8 kB / 1.108 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.3644, allocations: 8 kB / 1.108 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.3646, allocations: 27.97 kB / 1.108 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.3647, allocations: 39.84 kB / 1.108 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.3648, allocations: 19.98 kB / 1.108 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003617/0.3651, allocations: 267.2 kB / 1.108 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3651, allocations: 0 / 1.108 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008353/0.366, allocations: 203.4 kB / 1.109 GB, free: 11.61 MB / 0.8731 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.0002375/0.3662, allocations: 123.2 kB / 1.109 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.3677, allocations: 0.7913 MB / 1.109 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3677, allocations: 0 / 1.109 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.3681, allocations: 197 kB / 1.11 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.3687, allocations: 89.44 kB / 1.11 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.3702, allocations: 0.94 MB / 1.111 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.3707, allocations: 0.8474 MB / 1.111 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.3709, allocations: 63.3 kB / 1.112 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.371, allocations: 35.44 kB / 1.112 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.371, allocations: 0 / 1.112 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.01126/0.3823, allocations: 6.067 MB / 1.117 GB, free: 2.41 MB / 0.8731 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