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.001499/0.001499, allocations: 105.2 kB / 16.41 MB, free: 6.488 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.001696/0.001696, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.91 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9282/0.9296, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.003325/0.933, allocations: 2.079 MB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002638/0.9356, allocations: 1.6 MB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003524/0.936, allocations: 16.47 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.9363, allocations: 84.22 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.9366, allocations: 77.12 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009277/0.9375, allocations: 328.5 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000844/0.9384, allocations: 0.6915 MB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005307/0.9389, allocations: 326.6 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.9392, allocations: 261.3 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003396/0.9396, allocations: 279.3 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.9397, allocations: 80.47 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.9399, allocations: 94.8 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.9401, allocations: 140.8 kB / 1.095 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000262/0.9403, allocations: 301 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.9414, allocations: 0.8252 MB / 1.096 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.9415, allocations: 1.516 kB / 1.096 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9415, allocations: 0 / 1.096 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.9415, allocations: 0.7812 kB / 1.096 GB, free: 1.027 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.001804/0.9433, allocations: 0.903 MB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.9434, allocations: 10.17 kB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.9435, allocations: 71.25 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000674/0.9442, allocations: 414.2 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.9443, allocations: 41.77 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.9444, allocations: 59.14 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.9455, allocations: 495.5 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.9455, allocations: 4.188 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.9456, allocations: 26.14 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.9456, allocations: 12.09 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008511/0.9465, allocations: 345.2 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002839/0.9493, allocations: 1.554 MB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.9505, allocations: 0.8737 MB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.951, allocations: 240 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.951, allocations: 5.891 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005499/0.9516, allocations: 244.9 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.885e-06/0.9516, allocations: 0 / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47): time 0.00129/0.9529, allocations: 0.526 MB / 1.101 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.953, allocations: 113.5 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006917/0.9537, allocations: 388.1 kB / 1.102 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.9538, allocations: 38.66 kB / 1.102 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.9541, allocations: 246.4 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.9543, allocations: 161.6 kB / 1.102 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.9545, allocations: 100.4 kB / 1.102 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.9547, allocations: 356.3 kB / 1.103 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/0.9553, allocations: 184.5 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/0.9559, allocations: 284.6 kB / 1.103 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/0.9568, allocations: 427.5 kB / 1.103 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.9568, allocations: 1.031 kB / 1.103 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001413/0.9582, allocations: 0.5699 MB / 1.104 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.9583, allocations: 43.38 kB / 1.104 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.9583, allocations: 2.812 kB / 1.104 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.9583, allocations: 4.188 kB / 1.104 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.9588, allocations: 98.42 kB / 1.104 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.9588, allocations: 8.562 kB / 1.104 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.9593, allocations: 86.52 kB / 1.104 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.9593, allocations: 20.7 kB / 1.104 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005092/0.9598, allocations: 279.7 kB / 1.105 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003952/0.9602, allocations: 268 kB / 1.105 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005852/0.9608, allocations: 386.3 kB / 1.105 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.295e-06/0.9608, allocations: 1.344 kB / 1.105 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009505/0.9618, allocations: 0.5181 MB / 1.106 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.9618, allocations: 43.61 kB / 1.106 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.9619, allocations: 6.25 kB / 1.106 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.9619, allocations: 3.312 kB / 1.106 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.9622, allocations: 89.25 kB / 1.106 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.9622, allocations: 4.875 kB / 1.106 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.9626, allocations: 72.16 kB / 1.106 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.9627, allocations: 21.84 kB / 1.106 GB, free: 10.63 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.0002146/0.9629, allocations: 214.4 kB / 1.106 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.963, allocations: 48.72 kB / 1.106 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008844/0.9639, allocations: 427.4 kB / 1.107 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.9639, allocations: 5.188 kB / 1.107 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.9639, allocations: 3.938 kB / 1.107 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.9639, allocations: 7.641 kB / 1.107 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.9658, allocations: 1.129 MB / 1.108 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.9658, allocations: 3.25 kB / 1.108 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.9662, allocations: 80.25 kB / 1.108 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.9662, allocations: 3.688 kB / 1.108 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.9662, allocations: 14.67 kB / 1.108 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.9663, allocations: 8.031 kB / 1.108 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.9663, allocations: 6.219 kB / 1.108 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.9675, allocations: 0.7264 MB / 1.109 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.9676, allocations: 130 kB / 1.109 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.9677, allocations: 15.06 kB / 1.109 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.9679, allocations: 24.44 kB / 1.109 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.968, allocations: 36.2 kB / 1.109 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.968, allocations: 13.91 kB / 1.109 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003607/0.9684, allocations: 278.9 kB / 1.109 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9684, allocations: 3.938 kB / 1.109 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007453/0.9692, allocations: 193.7 kB / 1.109 GB, free: 8.73 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.0002746/0.9694, allocations: 123.8 kB / 1.109 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.971, allocations: 0.7869 MB / 1.11 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.971, allocations: 1.406 kB / 1.11 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.9714, allocations: 202.8 kB / 1.11 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.972, allocations: 97.7 kB / 1.11 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.9739, allocations: 0.9465 MB / 1.111 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.9745, allocations: 0.8479 MB / 1.112 GB, free: 6.848 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.9747, allocations: 46.06 kB / 1.112 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.9747, allocations: 0 / 1.112 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of Templates: time 0.01214/0.9869, allocations: 5.96 MB / 1.118 GB, free: 6.18 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/jenkins1/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