Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.00126, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001215/0.001215, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.444/1.444, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9459/0.9472, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003065/0.9503, allocations: 1.836 MB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002065/0.9524, allocations: 1.266 MB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.9526, allocations: 14.97 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.953, allocations: 75.27 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.9531, allocations: 50.81 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.9536, allocations: 168.3 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005433/0.9541, allocations: 490.5 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005099/0.9546, allocations: 266.1 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.9549, allocations: 185.2 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.9551, allocations: 198.3 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.337e-05/0.9552, allocations: 52.62 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.9553, allocations: 52.75 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.9554, allocations: 109.4 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.9556, allocations: 216.1 kB / 1.094 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006701/0.9563, allocations: 0.5806 MB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.9563, allocations: 0.9062 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9563, allocations: 0 / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.9563, allocations: 0 / 1.094 GB, free: 1.938 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001202/0.9575, allocations: 0.7346 MB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.9576, allocations: 12.78 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.9577, allocations: 49.14 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.9582, allocations: 352.7 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.9582, allocations: 30.38 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.9583, allocations: 42.81 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007533/0.9591, allocations: 408.4 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.9591, allocations: 0.8438 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.9591, allocations: 24.31 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.9592, allocations: 13.92 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/0.9598, allocations: 282.5 kB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.962, allocations: 1.369 MB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.9628, allocations: 245.9 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.9631, allocations: 121.9 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.9631, allocations: 3.203 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.9632, allocations: 37.44 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/0.9632, allocations: 3.938 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.0007852/0.964, allocations: 292.6 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.9641, allocations: 110.5 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/0.9646, allocations: 405.9 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.9647, allocations: 32.42 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.9649, allocations: 255.7 kB / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.965, allocations: 70.62 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.9651, allocations: 70.25 kB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9653, allocations: 346.6 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.9656, allocations: 116.5 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.966, allocations: 210.8 kB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.9665, allocations: 268.3 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9665, allocations: 0.8125 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007961/0.9673, allocations: 367.8 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.9674, allocations: 6.188 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.9674, allocations: 3.156 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.9674, allocations: 7.344 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.9677, allocations: 72.73 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.9677, allocations: 8.172 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.968, allocations: 55.03 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.9681, allocations: 18.52 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003178/0.9684, allocations: 198 kB / 1.1 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002901/0.9687, allocations: 181.8 kB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003566/0.9691, allocations: 236.4 kB / 1.101 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.476e-06/0.9691, allocations: 5.031 kB / 1.101 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006078/0.9697, allocations: 316.2 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.9697, allocations: 6.188 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.9697, allocations: 2.531 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.9697, allocations: 3.812 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.97, allocations: 62.16 kB / 1.101 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.97, allocations: 12.23 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.9703, allocations: 41.27 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.9703, allocations: 13.53 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.0002089/0.9705, allocations: 194.4 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.689e-05/0.9706, allocations: 36.59 kB / 1.102 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006508/0.9713, allocations: 245.7 kB / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.9713, allocations: 2.344 kB / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9713, allocations: 0 / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.9714, allocations: 117.9 kB / 1.102 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.9715, allocations: 10.25 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.9717, allocations: 18.62 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.9717, allocations: 9.422 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007714/0.9725, allocations: 315.3 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009704/0.9735, allocations: 0.5035 MB / 1.103 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002302/0.9737, allocations: 95.58 kB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004909/0.9742, allocations: 283.2 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of Backend: time 9.62e-07/0.9742, allocations: 4.438 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.9755, allocations: 406.4 kB / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001544/0.9771, allocations: 1.063 MB / 1.104 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.01164/0.9887, allocations: 4.684 MB / 1.109 GB, free: 10.78 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches