Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.LimPIDInitialState,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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") [: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 2.02/2.02, 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.0009447/0.0009448, allocations: 186.6 kB / 490.8 MB, free: 1.973 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.318/1.318, allocations: 221.3 MB / 0.7863 GB, free: 13.73 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.0009061/0.0009061, allocations: 86.86 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.284e-06/7.304e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2544, allocations: 143 MB / 1.212 GB, free: 40.17 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6585/0.9129, allocations: 153.2 MB / 1.361 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.9132, allocations: 87.91 kB / 1.361 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.0191/0.9324, allocations: 7.765 MB / 1.369 GB, free: 16.75 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.798e-05/0.9324, allocations: 13.09 kB / 1.369 GB, free: 16.74 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008897/0.9333, allocations: 0.6366 MB / 1.369 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.9334, allocations: 10.03 kB / 1.369 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.719e-05/0.9335, allocations: 61.12 kB / 1.37 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.934, allocations: 367.5 kB / 1.37 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.934, allocations: 13.03 kB / 1.37 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.9341, allocations: 25.02 kB / 1.37 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004144/0.9345, allocations: 225.1 kB / 1.37 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.935, allocations: 327.8 kB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.9351, allocations: 0 / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.9351, allocations: 2.031 kB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.9351, allocations: 10.75 kB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.9368, allocations: 1.202 MB / 1.372 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/0.9376, allocations: 250.5 kB / 1.372 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.9378, allocations: 124 kB / 1.372 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.9378, allocations: 7 kB / 1.372 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.9381, allocations: 162.1 kB / 1.372 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.9381, allocations: 0 / 1.372 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0004117/0.9385, allocations: 206.4 kB / 1.372 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.9386, allocations: 133.8 kB / 1.372 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.9389, allocations: 278.9 kB / 1.373 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.9389, allocations: 27.2 kB / 1.373 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.939, allocations: 207.4 kB / 1.373 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/0.9391, allocations: 92.22 kB / 1.373 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.9391, allocations: 1.094 kB / 1.373 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.9392, allocations: 341.7 kB / 1.373 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.9394, allocations: 77.66 kB / 1.373 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.9395, allocations: 155.8 kB / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.9397, allocations: 100.2 kB / 1.374 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.9397, allocations: 1.281 kB / 1.374 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004042/0.9401, allocations: 263.2 kB / 1.374 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.9403, allocations: 0.5286 MB / 1.374 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.9403, allocations: 2.031 kB / 1.374 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.9403, allocations: 2.969 kB / 1.374 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.9406, allocations: 75.67 kB / 1.375 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.9407, allocations: 6.969 kB / 1.375 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.9409, allocations: 47.7 kB / 1.375 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.9409, allocations: 12 kB / 1.375 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.9409, allocations: 10.88 kB / 1.375 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003208/0.9413, allocations: 199.7 kB / 1.375 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.9413, allocations: 1.125 kB / 1.375 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-06/0.9413, allocations: 3.438 kB / 1.375 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.9415, allocations: 53.75 kB / 1.375 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.9415, allocations: 7.391 kB / 1.375 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.9417, allocations: 29.7 kB / 1.375 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.9417, allocations: 11.84 kB / 1.375 GB, free: 29.66 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 8.627e-05/0.9418, allocations: 114.8 kB / 1.375 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.9418, allocations: 32.06 kB / 1.375 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.651e-05/0.9419, allocations: 36.8 kB / 1.375 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.9419, allocations: 3.531 kB / 1.375 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.9419, allocations: 8.875 kB / 1.375 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.9419, allocations: 2.344 kB / 1.375 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.943, allocations: 0.8497 MB / 1.376 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.943, allocations: 2.562 kB / 1.376 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.9433, allocations: 58.17 kB / 1.376 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.9433, allocations: 13.48 kB / 1.376 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.9433, allocations: 11.5 kB / 1.376 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.9433, allocations: 8.344 kB / 1.376 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.9433, allocations: 4.125 kB / 1.376 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00059/0.9439, allocations: 0.6548 MB / 1.377 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.944, allocations: 122 kB / 1.377 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.944, allocations: 4.5 kB / 1.377 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.9443, allocations: 26.36 kB / 1.377 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.9443, allocations: 16.98 kB / 1.377 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.9443, allocations: 9.969 kB / 1.377 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000202/0.9446, allocations: 212.1 kB / 1.377 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005194/0.9451, allocations: 129.6 kB / 1.377 GB, free: 28.34 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001551/0.9452, allocations: 114.8 kB / 1.377 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004929/0.9457, allocations: 330.9 kB / 1.378 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.9458, allocations: 1.031 kB / 1.378 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.9459, allocations: 98.89 kB / 1.378 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.9464, allocations: 73.03 kB / 1.378 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.9476, allocations: 0.5586 MB / 1.378 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004927/0.9481, allocations: 0.8631 MB / 1.379 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/0.9481, allocations: 0 / 1.379 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of Templates: time 0.009706/0.9578, allocations: 4.442 MB / 1.383 GB, free: 26.3 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches