Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001298/0.001298, allocations: 109.8 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.00139/0.00139, allocations: 189.4 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 59.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9361/0.9382, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003403/0.9416, allocations: 1.847 MB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.9437, allocations: 1.267 MB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.9441, allocations: 11.94 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.9445, allocations: 75.19 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.9448, allocations: 63.45 kB / 1.171 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.9453, allocations: 168.7 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006339/0.946, allocations: 489.1 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004506/0.9465, allocations: 267.5 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.9467, allocations: 179.1 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.9469, allocations: 191 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.867e-05/0.947, allocations: 52 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.571e-05/0.9471, allocations: 55.94 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.994e-05/0.9472, allocations: 115.7 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.9474, allocations: 214.8 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005461/0.9479, allocations: 0.5836 MB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9479, allocations: 0 / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.163e-06/0.9479, allocations: 0 / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.948, allocations: 0 / 1.173 GB, free: 14.27 MB / 0.9044 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.00127/0.9492, allocations: 0.7348 MB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.9493, allocations: 8.031 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.112e-05/0.9494, allocations: 52.28 kB / 1.174 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.9499, allocations: 348.2 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.95, allocations: 29.38 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.95, allocations: 48.36 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.9507, allocations: 407.5 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.9507, allocations: 4.125 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.9507, allocations: 19.94 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.9507, allocations: 12 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005358/0.9513, allocations: 283.8 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.9533, allocations: 1.37 MB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.954, allocations: 246.8 kB / 1.176 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.9542, allocations: 116.8 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.9542, allocations: 8 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.9543, allocations: 30.56 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 2.254e-06/0.9543, allocations: 4 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0006778/0.955, allocations: 295.3 kB / 1.177 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.955, allocations: 110.8 kB / 1.177 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.9555, allocations: 401.6 kB / 1.177 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.9555, allocations: 33.7 kB / 1.177 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.9557, allocations: 259.6 kB / 1.177 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.9558, allocations: 67 kB / 1.177 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.9559, allocations: 69.94 kB / 1.178 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.956, allocations: 346.8 kB / 1.178 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.9563, allocations: 114.1 kB / 1.178 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.9566, allocations: 204.4 kB / 1.178 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.9572, allocations: 269.8 kB / 1.178 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9572, allocations: 4 kB / 1.178 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006896/0.9579, allocations: 372.8 kB / 1.179 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.9579, allocations: 8 kB / 1.179 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.9579, allocations: 4 kB / 1.179 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.958, allocations: 8.156 kB / 1.179 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.9582, allocations: 79.83 kB / 1.179 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.9583, allocations: 4 kB / 1.179 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.9585, allocations: 55.5 kB / 1.179 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.9585, allocations: 12 kB / 1.179 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002566/0.9588, allocations: 204.8 kB / 1.179 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003281/0.9591, allocations: 188 kB / 1.179 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004127/0.9595, allocations: 225.5 kB / 1.18 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.9596, allocations: 0 / 1.18 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005312/0.9601, allocations: 320 kB / 1.18 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.9601, allocations: 10.38 kB / 1.18 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.9601, allocations: 11.92 kB / 1.18 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/0.9601, allocations: 4 kB / 1.18 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.9604, allocations: 67.78 kB / 1.18 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.9604, allocations: 4 kB / 1.18 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.9606, allocations: 39.73 kB / 1.18 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.9606, allocations: 8 kB / 1.18 GB, free: 6.461 MB / 0.9044 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.0001458/0.9608, allocations: 204.2 kB / 1.18 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.9608, allocations: 39.52 kB / 1.18 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004918/0.9613, allocations: 240.9 kB / 1.18 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.9614, allocations: 0 / 1.18 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.9614, allocations: 0 / 1.18 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.9614, allocations: 0 / 1.18 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.9627, allocations: 0.7926 MB / 1.181 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.9627, allocations: 0 / 1.181 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.9629, allocations: 44.06 kB / 1.181 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.9629, allocations: 8 kB / 1.181 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.963, allocations: 8 kB / 1.181 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.963, allocations: 3.984 kB / 1.181 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.963, allocations: 7.938 kB / 1.181 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000688/0.9637, allocations: 455.1 kB / 1.182 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.8e-05/0.9638, allocations: 124.6 kB / 1.182 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.9638, allocations: 8 kB / 1.182 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.964, allocations: 23.98 kB / 1.182 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.9641, allocations: 11.92 kB / 1.182 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.9641, allocations: 12 kB / 1.182 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004111/0.9645, allocations: 283.2 kB / 1.182 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9645, allocations: 0 / 1.182 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005162/0.965, allocations: 127.5 kB / 1.182 GB, free: 3.969 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.000191/0.9652, allocations: 119.2 kB / 1.182 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008008/0.966, allocations: 385.2 kB / 1.183 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.9661, allocations: 4 kB / 1.183 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.9663, allocations: 97.08 kB / 1.183 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.9668, allocations: 65.41 kB / 1.183 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.9683, allocations: 0.7012 MB / 1.184 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.9688, allocations: 0.8035 MB / 1.184 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.9689, allocations: 27.44 kB / 1.184 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of SimCode: time 3.91e-07/0.9689, allocations: 4 kB / 1.184 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of Templates: time 0.007889/0.9768, allocations: 4.359 MB / 1.189 GB, free: 13.34 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches