Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 390.3 MB / 405.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 178.3 kB / 498.1 MB, free: 5.766 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 223.2 MB / 0.7948 GB, free: 18.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008672/0.0008672, allocations: 88.39 kB / 0.9346 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004058, allocations: 9.656 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3295, allocations: 142.3 MB / 1.223 GB, free: 89.64 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.5275, allocations: 153.2 MB / 1.372 GB, free: 256 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.5278, allocations: 95.92 kB / 1.373 GB, free: 160 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02165/0.5495, allocations: 8.44 MB / 1.381 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5496, allocations: 0 / 1.381 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.733e-05/0.5496, allocations: 16 kB / 1.381 GB, free: 7.684 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001378/0.551, allocations: 0.6895 MB / 1.382 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5511, allocations: 12.02 kB / 1.382 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.5513, allocations: 51.44 kB / 1.382 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007971/0.5521, allocations: 383.6 kB / 1.382 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.146e-05/0.5521, allocations: 29 kB / 1.382 GB, free: 6.438 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.562e-05/0.5522, allocations: 36 kB / 1.382 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007869/0.553, allocations: 404.8 kB / 1.382 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.5531, allocations: 0 / 1.382 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.5531, allocations: 19.94 kB / 1.382 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.5531, allocations: 8 kB / 1.382 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006118/0.5538, allocations: 291.8 kB / 1.383 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.5559, allocations: 1.442 MB / 1.384 GB, free: 4.168 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.557, allocations: 351.3 kB / 1.384 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.5571, allocations: 0 / 1.384 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003907/0.5575, allocations: 197.3 kB / 1.385 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.5575, allocations: 0 / 1.385 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.0008433/0.5583, allocations: 375.5 kB / 1.385 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.649e-05/0.5584, allocations: 132.5 kB / 1.385 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004574/0.5589, allocations: 361.1 kB / 1.385 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.5589, allocations: 29.7 kB / 1.385 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.5591, allocations: 236.2 kB / 1.386 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.5592, allocations: 86.72 kB / 1.386 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/0.5592, allocations: 8 kB / 1.386 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5594, allocations: 358.8 kB / 1.386 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.5596, allocations: 99.95 kB / 1.386 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.5599, allocations: 179.7 kB / 1.386 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.5603, allocations: 123.4 kB / 1.387 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5603, allocations: 0 / 1.387 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006668/0.5609, allocations: 349.7 kB / 1.387 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002165/0.5612, allocations: 453.8 kB / 1.387 GB, free: 0.7422 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.5612, allocations: 3.984 kB / 1.387 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.5612, allocations: 4 kB / 1.387 GB, free: 0.7344 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.5615, allocations: 75.84 kB / 1.387 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.5615, allocations: 4 kB / 1.387 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.5618, allocations: 51.66 kB / 1.387 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.5618, allocations: 12 kB / 1.387 GB, free: 0.5938 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.5618, allocations: 8.734 kB / 1.387 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003499/0.5622, allocations: 220.7 kB / 1.388 GB, free: 380 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5622, allocations: 4 kB / 1.388 GB, free: 376 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.5622, allocations: 0 / 1.388 GB, free: 376 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.5624, allocations: 59.88 kB / 1.388 GB, free: 316 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5624, allocations: 7.984 kB / 1.388 GB, free: 308 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.5626, allocations: 39.67 kB / 1.388 GB, free: 268 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.5626, allocations: 12 kB / 1.388 GB, free: 256 kB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.5629, allocations: 244.9 kB / 1.388 GB, free: 0 / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.563, allocations: 39.61 kB / 1.388 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.5631, allocations: 44.06 kB / 1.388 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5631, allocations: 7.781 kB / 1.388 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5631, allocations: 0 / 1.388 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.5631, allocations: 0 / 1.388 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.5646, allocations: 0.9888 MB / 1.389 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.5647, allocations: 4 kB / 1.389 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.565, allocations: 59.89 kB / 1.389 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.565, allocations: 4 kB / 1.389 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.565, allocations: 8.281 kB / 1.389 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.565, allocations: 8 kB / 1.389 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.5651, allocations: 7.938 kB / 1.389 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.5662, allocations: 0.7477 MB / 1.39 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.5664, allocations: 132.5 kB / 1.39 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.5664, allocations: 8 kB / 1.39 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.5667, allocations: 31.97 kB / 1.39 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.5668, allocations: 19.98 kB / 1.39 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.5668, allocations: 8 kB / 1.39 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003758/0.5672, allocations: 287.1 kB / 1.39 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5672, allocations: 0 / 1.39 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006443/0.5679, allocations: 131.6 kB / 1.39 GB, free: 13.27 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002266/0.5681, allocations: 119.1 kB / 1.391 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008796/0.569, allocations: 376.6 kB / 1.391 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.569, allocations: 4 kB / 1.391 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.5693, allocations: 136.6 kB / 1.391 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.5699, allocations: 73.52 kB / 1.391 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.5718, allocations: 0.8943 MB / 1.392 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.5724, allocations: 0.8157 MB / 1.393 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002463/0.5727, allocations: 55.38 kB / 1.393 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.5728, allocations: 27.44 kB / 1.393 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of SimCode: time 2.61e-07/0.5728, allocations: 0 / 1.393 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.008387/0.5812, allocations: 3.495 MB / 1.396 GB, free: 7.266 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches