Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") [: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.784/1.784, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009691/0.000969, allocations: 183.9 kB / 487 MB, free: 5.371 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.12/1.12, allocations: 221.3 MB / 0.7819 GB, free: 1.445 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.0008118/0.0008118, allocations: 97.36 kB / 0.9213 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.424e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1778, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5161/0.694, allocations: 149.6 MB / 1.351 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.6942, allocations: 75.48 kB / 1.351 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01621/0.7104, allocations: 6.369 MB / 1.358 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.008e-05/0.7105, allocations: 12.62 kB / 1.358 GB, free: 15.55 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.0007843/0.7113, allocations: 0.613 MB / 1.358 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.7113, allocations: 9.031 kB / 1.358 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.083e-05/0.7114, allocations: 47.41 kB / 1.358 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.7118, allocations: 328.3 kB / 1.359 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.7118, allocations: 11.59 kB / 1.359 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.7119, allocations: 22.47 kB / 1.359 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004026/0.7123, allocations: 217.1 kB / 1.359 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.7128, allocations: 308.5 kB / 1.359 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.7128, allocations: 3.938 kB / 1.359 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.7129, allocations: 1.609 kB / 1.359 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.7129, allocations: 8.625 kB / 1.359 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.7143, allocations: 1.172 MB / 1.36 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.7147, allocations: 193 kB / 1.36 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.7149, allocations: 131 kB / 1.361 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.7149, allocations: 3.797 kB / 1.361 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.7151, allocations: 155.5 kB / 1.361 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/0.7151, allocations: 0 / 1.361 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28): time 0.0003899/0.7155, allocations: 212.2 kB / 1.361 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.7156, allocations: 139.8 kB / 1.361 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.7159, allocations: 244.3 kB / 1.361 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.7159, allocations: 27 kB / 1.361 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.716, allocations: 190.2 kB / 1.362 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.7161, allocations: 90.58 kB / 1.362 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.7161, allocations: 0.5 kB / 1.362 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.7162, allocations: 348.4 kB / 1.362 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.7163, allocations: 82.5 kB / 1.362 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.7165, allocations: 161.9 kB / 1.362 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.7167, allocations: 111.5 kB / 1.362 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7167, allocations: 0 / 1.362 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003545/0.717, allocations: 284.6 kB / 1.363 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.271e-05/0.7171, allocations: 450.3 kB / 1.363 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7171, allocations: 0 / 1.363 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.7171, allocations: 4 kB / 1.363 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.7175, allocations: 78.45 kB / 1.363 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.7175, allocations: 12.44 kB / 1.363 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.7177, allocations: 50.86 kB / 1.363 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.7177, allocations: 11.8 kB / 1.363 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.338e-06/0.7177, allocations: 4 kB / 1.363 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002779/0.718, allocations: 214.2 kB / 1.363 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/0.718, allocations: 4 kB / 1.363 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-06/0.718, allocations: 0.5156 kB / 1.363 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.7183, allocations: 62.67 kB / 1.363 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.7183, allocations: 8.703 kB / 1.363 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.7184, allocations: 23.45 kB / 1.363 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.7185, allocations: 8.656 kB / 1.363 GB, free: 12.13 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 (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 6.327e-05/0.7185, allocations: 117.3 kB / 1.364 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.7186, allocations: 32.33 kB / 1.364 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.7189, allocations: 232.2 kB / 1.364 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.7189, allocations: 11.94 kB / 1.364 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.7189, allocations: 4 kB / 1.364 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.7189, allocations: 1.828 kB / 1.364 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.7201, allocations: 0.951 MB / 1.365 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7201, allocations: 4 kB / 1.365 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.7203, allocations: 69.17 kB / 1.365 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.7204, allocations: 12 kB / 1.365 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.7204, allocations: 4.609 kB / 1.365 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.7204, allocations: 5.359 kB / 1.365 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7204, allocations: 4 kB / 1.365 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004638/0.7209, allocations: 0.732 MB / 1.366 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.7209, allocations: 115.4 kB / 1.366 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.721, allocations: 9.031 kB / 1.366 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.7212, allocations: 29.05 kB / 1.366 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.7213, allocations: 21.7 kB / 1.366 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.7213, allocations: 9.125 kB / 1.366 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001306/0.7214, allocations: 200.8 kB / 1.366 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004315/0.7218, allocations: 119.8 kB / 1.366 GB, free: 9.844 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (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.0001234/0.722, allocations: 120.4 kB / 1.366 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.7224, allocations: 358.2 kB / 1.366 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7224, allocations: 0 / 1.366 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.7225, allocations: 100 kB / 1.367 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.7229, allocations: 60.42 kB / 1.367 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.724, allocations: 0.5741 MB / 1.367 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/0.7244, allocations: 0.8388 MB / 1.368 GB, free: 24.06 MB / 0.823 GB Notification: Performance of SimCode: time 1.302e-06/0.7244, allocations: 0 / 1.368 GB, free: 24.06 MB / 0.823 GB Notification: Performance of Templates: time 0.006854/0.7312, allocations: 4.293 MB / 1.372 GB, free: 19.98 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches