Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 111.7 kB / 16.42 MB, free: 6.5 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.00162/0.00162, allocations: 192.3 kB / 17.35 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.688/2.688, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 67.91 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9634/0.9657, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003252/0.969, allocations: 1.842 MB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.971, allocations: 1.256 MB / 1.212 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.9714, allocations: 15.94 kB / 1.212 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.9717, allocations: 71.25 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.9719, allocations: 59.39 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.9724, allocations: 167.8 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005465/0.973, allocations: 485 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004698/0.9734, allocations: 275.4 kB / 1.213 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.9737, allocations: 179.2 kB / 1.213 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.9739, allocations: 199 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.713e-05/0.974, allocations: 52 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/0.9741, allocations: 52 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.752e-05/0.9742, allocations: 107.6 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.9743, allocations: 218.8 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.9748, allocations: 0.5797 MB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9748, allocations: 0 / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9749, allocations: 0 / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.9749, allocations: 0 / 1.214 GB, free: 8.094 MB / 0.9356 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.001118/0.976, allocations: 0.7387 MB / 1.215 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.976, allocations: 8.031 kB / 1.215 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.55e-05/0.9761, allocations: 52.28 kB / 1.215 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.9766, allocations: 356.2 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.9766, allocations: 29.38 kB / 1.215 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.9767, allocations: 40.38 kB / 1.215 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.9774, allocations: 403.6 kB / 1.215 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.9774, allocations: 192 / 1.215 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.9774, allocations: 27.92 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.9774, allocations: 12 kB / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.978, allocations: 279.8 kB / 1.216 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.98, allocations: 1.378 MB / 1.217 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.9807, allocations: 246.9 kB / 1.217 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.9809, allocations: 118.5 kB / 1.217 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.9809, allocations: 8 kB / 1.217 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.981, allocations: 30.56 kB / 1.217 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.981, allocations: 0 / 1.217 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0006711/0.9817, allocations: 295 kB / 1.218 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.9817, allocations: 114.8 kB / 1.218 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.9822, allocations: 405.5 kB / 1.218 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.9822, allocations: 29.7 kB / 1.218 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.9824, allocations: 251.6 kB / 1.219 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.9824, allocations: 82.92 kB / 1.219 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.9825, allocations: 61.94 kB / 1.219 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.9827, allocations: 346.8 kB / 1.219 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.9829, allocations: 122.1 kB / 1.219 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.9832, allocations: 204.3 kB / 1.219 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.9837, allocations: 273.9 kB / 1.22 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.9837, allocations: 0 / 1.22 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006937/0.9844, allocations: 377 kB / 1.22 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.9845, allocations: 4 kB / 1.22 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.9845, allocations: 4 kB / 1.22 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.9845, allocations: 7.922 kB / 1.22 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.9848, allocations: 67.91 kB / 1.22 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.9848, allocations: 7.938 kB / 1.22 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.9851, allocations: 59.5 kB / 1.22 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.9851, allocations: 12 kB / 1.22 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002567/0.9854, allocations: 204.8 kB / 1.22 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002165/0.9856, allocations: 180.9 kB / 1.22 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002945/0.9859, allocations: 225.5 kB / 1.221 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/0.9859, allocations: 3.984 kB / 1.221 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004933/0.9864, allocations: 322.7 kB / 1.221 GB, free: 424 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.9864, allocations: 4 kB / 1.221 GB, free: 420 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.9864, allocations: 4 kB / 1.221 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.9864, allocations: 8 kB / 1.221 GB, free: 408 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.9867, allocations: 59.91 kB / 1.221 GB, free: 348 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.9867, allocations: 11.88 kB / 1.221 GB, free: 336 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.9869, allocations: 43.95 kB / 1.221 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.9869, allocations: 8 kB / 1.221 GB, free: 284 kB / 0.9356 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.0001139/0.987, allocations: 204.2 kB / 1.221 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.9871, allocations: 35.53 kB / 1.221 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.9876, allocations: 237 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.9876, allocations: 4 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9876, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.9877, allocations: 116.6 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.9878, allocations: 8 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.9879, allocations: 15.98 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.988, allocations: 7.984 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005827/0.9886, allocations: 322.9 kB / 1.222 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006879/0.9893, allocations: 0.4967 MB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001792/0.9895, allocations: 95.98 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002795/0.9897, allocations: 287.1 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of Backend: time 3.226e-06/0.9898, allocations: 3.938 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009394/0.9907, allocations: 406.4 kB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001197/0.9919, allocations: 1.064 MB / 1.224 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of Templates: time 0.009908/1.002, allocations: 4.675 MB / 1.229 GB, free: 8.262 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches