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.001527/0.001527, allocations: 113.1 kB / 16.41 MB, free: 6.492 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.001595/0.001595, allocations: 183 kB / 17.34 MB, free: 5.762 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.423/1.423, 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.228/2.228, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001497, allocations: 63.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9443/0.9458, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.00339/0.9492, allocations: 2.084 MB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.9519, allocations: 1.6 MB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.9523, allocations: 7.25 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.9526, allocations: 89.08 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.9529, allocations: 81.58 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.9539, allocations: 330.9 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008319/0.9548, allocations: 0.6985 MB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005458/0.9553, allocations: 327.9 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.9556, allocations: 260.8 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.9561, allocations: 283.5 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.9562, allocations: 76.84 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.9564, allocations: 86.48 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.9566, allocations: 152.3 kB / 1.095 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.9569, allocations: 297 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.9579, allocations: 0.8228 MB / 1.096 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.9579, allocations: 0.7812 kB / 1.096 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9579, allocations: 4 kB / 1.096 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.9579, allocations: 0 / 1.096 GB, free: 1.031 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.001698/0.9597, allocations: 0.9043 MB / 1.097 GB, free: 364 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.9597, allocations: 9.219 kB / 1.097 GB, free: 364 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.9599, allocations: 67.58 kB / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006665/0.9605, allocations: 406.2 kB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.773e-05/0.9606, allocations: 41.75 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.9607, allocations: 58.53 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.9618, allocations: 0.4923 MB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.9618, allocations: 192 / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.9619, allocations: 26.03 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.9619, allocations: 12.22 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008927/0.9628, allocations: 340.7 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.9655, allocations: 1.554 MB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.9665, allocations: 0.8727 MB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004196/0.967, allocations: 233.1 kB / 1.101 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.967, allocations: 5.141 kB / 1.101 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005234/0.9676, allocations: 257.2 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/0.9676, allocations: 0 / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47): time 0.001236/0.9688, allocations: 0.5235 MB / 1.101 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.9689, allocations: 112.9 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005667/0.9695, allocations: 387.5 kB / 1.102 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.9696, allocations: 42.73 kB / 1.102 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.9698, allocations: 250.3 kB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.97, allocations: 162 kB / 1.102 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.9701, allocations: 96.83 kB / 1.102 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.9703, allocations: 355 kB / 1.103 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.9708, allocations: 185.2 kB / 1.103 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005324/0.9714, allocations: 279.7 kB / 1.103 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000807/0.9722, allocations: 436.2 kB / 1.104 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.9722, allocations: 1.031 kB / 1.104 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001419/0.9736, allocations: 0.5625 MB / 1.104 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.9737, allocations: 49.95 kB / 1.104 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.9737, allocations: 6.062 kB / 1.104 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.9737, allocations: 4.062 kB / 1.104 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.9741, allocations: 94.42 kB / 1.104 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.9742, allocations: 4.688 kB / 1.104 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.9746, allocations: 86.91 kB / 1.104 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.9747, allocations: 20.77 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004704/0.9751, allocations: 284.1 kB / 1.105 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003936/0.9755, allocations: 267.2 kB / 1.105 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005825/0.9761, allocations: 386.2 kB / 1.105 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.9761, allocations: 1.188 kB / 1.105 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009698/0.9771, allocations: 0.5177 MB / 1.106 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.9772, allocations: 40.48 kB / 1.106 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.9772, allocations: 5.344 kB / 1.106 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.9772, allocations: 12.48 kB / 1.106 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.9775, allocations: 88.03 kB / 1.106 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.9775, allocations: 5 kB / 1.106 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.9779, allocations: 73.73 kB / 1.106 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.978, allocations: 20.64 kB / 1.106 GB, free: 10.64 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.0002064/0.9782, allocations: 211.8 kB / 1.106 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.9783, allocations: 49.69 kB / 1.106 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008735/0.9791, allocations: 426.6 kB / 1.107 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.9792, allocations: 5.625 kB / 1.107 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.9792, allocations: 1.094 kB / 1.107 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.9792, allocations: 2.156 kB / 1.107 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.981, allocations: 1.138 MB / 1.108 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.9811, allocations: 1.938 kB / 1.108 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.9814, allocations: 81.41 kB / 1.108 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.9814, allocations: 3.594 kB / 1.108 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.9815, allocations: 10.03 kB / 1.108 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.9815, allocations: 12.47 kB / 1.108 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.9815, allocations: 10.22 kB / 1.108 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.9827, allocations: 0.7187 MB / 1.109 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.9828, allocations: 129.8 kB / 1.109 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.9829, allocations: 15.28 kB / 1.109 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.9831, allocations: 24.19 kB / 1.109 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/0.9832, allocations: 40.16 kB / 1.109 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.9833, allocations: 16.89 kB / 1.109 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003498/0.9836, allocations: 271.8 kB / 1.109 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9836, allocations: 0 / 1.109 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007196/0.9844, allocations: 192.6 kB / 1.109 GB, free: 8.746 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.0002465/0.9846, allocations: 124.4 kB / 1.109 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.9861, allocations: 0.792 MB / 1.11 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.9861, allocations: 0 / 1.11 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.9865, allocations: 203.8 kB / 1.11 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.9871, allocations: 98.23 kB / 1.11 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.989, allocations: 0.9552 MB / 1.111 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.9894, allocations: 0.848 MB / 1.112 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.9896, allocations: 44.62 kB / 1.112 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.9896, allocations: 0 / 1.112 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of Templates: time 0.01192/1.001, allocations: 5.957 MB / 1.118 GB, free: 6.191 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