Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.962/1.962, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001065/0.001065, allocations: 189.2 kB / 490.8 MB, free: 1.91 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.299/1.299, allocations: 221.4 MB / 0.7863 GB, free: 13.63 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.0008694/0.0008694, allocations: 95.17 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.146e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2503, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6743/0.9246, allocations: 153.2 MB / 1.361 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.925, allocations: 86.84 kB / 1.361 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02032/0.9453, allocations: 8.068 MB / 1.369 GB, free: 16.72 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.666e-05/0.9454, allocations: 12.34 kB / 1.369 GB, free: 16.71 MB / 0.823 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.000833/0.9462, allocations: 0.6233 MB / 1.37 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.9463, allocations: 9.375 kB / 1.37 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.9464, allocations: 49.86 kB / 1.37 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.947, allocations: 388.4 kB / 1.37 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.947, allocations: 11.5 kB / 1.37 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.9471, allocations: 25.81 kB / 1.37 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004161/0.9475, allocations: 213.4 kB / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.948, allocations: 313.5 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.948, allocations: 3.938 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.948, allocations: 1.625 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.9481, allocations: 10.91 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.9497, allocations: 1.328 MB / 1.372 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.9504, allocations: 251.7 kB / 1.372 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.9506, allocations: 114.8 kB / 1.372 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.9506, allocations: 6.812 kB / 1.372 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.9508, allocations: 150.9 kB / 1.373 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/0.9508, allocations: 0 / 1.373 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0003856/0.9512, allocations: 210.5 kB / 1.373 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.9513, allocations: 133.5 kB / 1.373 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.9516, allocations: 274.3 kB / 1.373 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.9517, allocations: 25.7 kB / 1.373 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/0.9518, allocations: 200 kB / 1.373 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.9518, allocations: 82.5 kB / 1.373 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.9518, allocations: 0 / 1.373 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.952, allocations: 346.2 kB / 1.374 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.9521, allocations: 79.27 kB / 1.374 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.9523, allocations: 145.6 kB / 1.374 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.9524, allocations: 92.14 kB / 1.374 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9524, allocations: 0 / 1.374 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004039/0.9528, allocations: 263.7 kB / 1.374 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.953, allocations: 452.7 kB / 1.375 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.953, allocations: 1.656 kB / 1.375 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.953, allocations: 3.188 kB / 1.375 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.9534, allocations: 70.38 kB / 1.375 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.9534, allocations: 3.016 kB / 1.375 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.9536, allocations: 50.86 kB / 1.375 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.9536, allocations: 7.75 kB / 1.375 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.662e-06/0.9537, allocations: 3.469 kB / 1.375 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002902/0.954, allocations: 193.7 kB / 1.375 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.954, allocations: 2.281 kB / 1.375 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-06/0.954, allocations: 3.703 kB / 1.375 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.9542, allocations: 55.58 kB / 1.375 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.9542, allocations: 2.562 kB / 1.375 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.9544, allocations: 33.2 kB / 1.375 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.9544, allocations: 7.094 kB / 1.375 GB, free: 29.59 MB / 0.8386 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 () * 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 9.464e-05/0.9545, allocations: 110.7 kB / 1.375 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.9546, allocations: 35.84 kB / 1.375 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.9547, allocations: 38.14 kB / 1.375 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.9547, allocations: 4.328 kB / 1.375 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9547, allocations: 0 / 1.375 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.9547, allocations: 6.25 kB / 1.375 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.956, allocations: 0.8573 MB / 1.376 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.956, allocations: 3.828 kB / 1.376 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.9563, allocations: 55.02 kB / 1.376 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.9563, allocations: 5.406 kB / 1.376 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.9563, allocations: 6.406 kB / 1.376 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.9563, allocations: 4.891 kB / 1.376 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.9563, allocations: 10.73 kB / 1.376 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005994/0.9569, allocations: 0.6522 MB / 1.377 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/0.957, allocations: 114.7 kB / 1.377 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.509e-05/0.9571, allocations: 4.469 kB / 1.377 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.9573, allocations: 26.11 kB / 1.377 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.9574, allocations: 25.33 kB / 1.377 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.9574, allocations: 9.203 kB / 1.377 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002041/0.9576, allocations: 210.9 kB / 1.377 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005254/0.9581, allocations: 121.4 kB / 1.377 GB, free: 28.27 MB / 0.8386 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 () * 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.0001705/0.9583, allocations: 116.3 kB / 1.377 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004969/0.9588, allocations: 325.1 kB / 1.378 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.9588, allocations: 1.25 kB / 1.378 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.9589, allocations: 95.58 kB / 1.378 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.9594, allocations: 75.81 kB / 1.378 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.9607, allocations: 0.5658 MB / 1.379 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/0.9613, allocations: 0.8586 MB / 1.379 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.9613, allocations: 0 / 1.379 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.0106/0.9719, allocations: 4.472 MB / 1.384 GB, free: 26.17 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches