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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.903/1.903, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001032/0.001032, allocations: 176.5 kB / 487 MB, free: 5.336 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.277/1.277, allocations: 221.3 MB / 0.7819 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.0009816, allocations: 95.95 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.472e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2079, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5908/0.7988, allocations: 152.4 MB / 1.354 GB, free: 16.12 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.799, allocations: 88.58 kB / 1.354 GB, free: 16.12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02066/0.8197, allocations: 8.059 MB / 1.362 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.349e-05/0.8198, allocations: 12 kB / 1.362 GB, free: 14.42 MB / 0.8073 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.0007306/0.8205, allocations: 0.6266 MB / 1.363 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.8206, allocations: 12.02 kB / 1.363 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.8206, allocations: 55.34 kB / 1.363 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/0.8212, allocations: 377.2 kB / 1.363 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.8212, allocations: 12 kB / 1.363 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.8213, allocations: 24 kB / 1.363 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003481/0.8216, allocations: 218.8 kB / 1.363 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.822, allocations: 317.7 kB / 1.364 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.8221, allocations: 0 / 1.364 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.8221, allocations: 0 / 1.364 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.8221, allocations: 15.91 kB / 1.364 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.8235, allocations: 1.319 MB / 1.365 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.8241, allocations: 257.2 kB / 1.365 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.8243, allocations: 115.9 kB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.8243, allocations: 4 kB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.8245, allocations: 150 kB / 1.365 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 2.305e-06/0.8245, allocations: 7.984 kB / 1.365 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26): time 0.0003364/0.8248, allocations: 205.9 kB / 1.366 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.8249, allocations: 136.5 kB / 1.366 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.8251, allocations: 270.9 kB / 1.366 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.8251, allocations: 33.64 kB / 1.366 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.8252, allocations: 198.9 kB / 1.366 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.8253, allocations: 78.94 kB / 1.366 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.8253, allocations: 4 kB / 1.366 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.8253, allocations: 344.8 kB / 1.367 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.8255, allocations: 75.55 kB / 1.367 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.8256, allocations: 143.2 kB / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.8257, allocations: 90.97 kB / 1.367 GB, free: 10 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8257, allocations: 0 / 1.367 GB, free: 10 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003332/0.8261, allocations: 266.2 kB / 1.367 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.104e-05/0.8262, allocations: 452.5 kB / 1.368 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.8262, allocations: 0 / 1.368 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.8262, allocations: 4 kB / 1.368 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.8265, allocations: 71.41 kB / 1.368 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8265, allocations: 7.984 kB / 1.368 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.8267, allocations: 51.66 kB / 1.368 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.8267, allocations: 15.25 kB / 1.368 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-06/0.8267, allocations: 7.938 kB / 1.368 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002511/0.827, allocations: 181.7 kB / 1.368 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/0.827, allocations: 4 kB / 1.368 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-06/0.827, allocations: 0 / 1.368 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.8272, allocations: 55.23 kB / 1.368 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.8272, allocations: 4 kB / 1.368 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.8273, allocations: 31.83 kB / 1.368 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.8273, allocations: 8 kB / 1.368 GB, free: 8.969 MB / 0.8073 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 6.89e-05/0.8274, allocations: 116.5 kB / 1.368 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.8275, allocations: 35.53 kB / 1.368 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.942e-05/0.8275, allocations: 33.08 kB / 1.368 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8275, allocations: 8 kB / 1.368 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.8276, allocations: 0 / 1.368 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.8276, allocations: 0 / 1.368 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000876/0.8284, allocations: 0.8521 MB / 1.369 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.8285, allocations: 0 / 1.369 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.8287, allocations: 67.3 kB / 1.369 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.8287, allocations: 4 kB / 1.369 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.8287, allocations: 7.938 kB / 1.369 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.8287, allocations: 4 kB / 1.369 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8287, allocations: 4 kB / 1.369 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004462/0.8292, allocations: 0.6492 MB / 1.37 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.8293, allocations: 116.1 kB / 1.37 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.8293, allocations: 4 kB / 1.37 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.8296, allocations: 35.81 kB / 1.37 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.8296, allocations: 15.36 kB / 1.37 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.8296, allocations: 12 kB / 1.37 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001506/0.8298, allocations: 218.2 kB / 1.37 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004464/0.8302, allocations: 119.4 kB / 1.37 GB, free: 6.832 MB / 0.8073 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.0001166/0.8303, allocations: 115.8 kB / 1.37 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.8307, allocations: 321.1 kB / 1.371 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8308, allocations: 4 kB / 1.371 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.8309, allocations: 94.55 kB / 1.371 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.8313, allocations: 69.86 kB / 1.371 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.8324, allocations: 0.563 MB / 1.371 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/0.8329, allocations: 0.8534 MB / 1.372 GB, free: 20.94 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.8329, allocations: 0 / 1.372 GB, free: 20.94 MB / 0.823 GB Notification: Performance of Templates: time 0.007393/0.8403, allocations: 4.48 MB / 1.377 GB, free: 16.55 MB / 0.823 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