Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [: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.781/1.781, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001072/0.001072, allocations: 177.3 kB / 487 MB, free: 5.344 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.133/1.133, allocations: 221.3 MB / 0.7819 GB, free: 1.348 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.0008751/0.0008752, allocations: 97.88 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.982e-06/6.072e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.201, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5365/0.7375, allocations: 148.8 MB / 1.351 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.7378, allocations: 68.77 kB / 1.351 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.009807/0.7476, allocations: 3.443 MB / 1.354 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.7476, allocations: 2.812 kB / 1.354 GB, free: 15.74 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003244/0.7479, allocations: 451.3 kB / 1.354 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.748, allocations: 9.812 kB / 1.354 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.7481, allocations: 20.23 kB / 1.354 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.7484, allocations: 236.1 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.7484, allocations: 7.375 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.7485, allocations: 17.17 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/0.7486, allocations: 40.69 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.7487, allocations: 115.3 kB / 1.355 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.7487, allocations: 0.7969 kB / 1.355 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.7487, allocations: 1.562 kB / 1.355 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.7488, allocations: 6.531 kB / 1.355 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.7493, allocations: 0.6699 MB / 1.356 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.391e-05/0.7493, allocations: 42.7 kB / 1.356 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.7494, allocations: 17.62 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.7494, allocations: 1.781 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.981e-05/0.7495, allocations: 80.98 kB / 1.356 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.7495, allocations: 3.938 kB / 1.356 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001674/0.7496, allocations: 75.38 kB / 1.356 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.7497, allocations: 78.92 kB / 1.356 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.851e-05/0.7498, allocations: 146.3 kB / 1.356 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.7498, allocations: 29.64 kB / 1.356 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.7499, allocations: 113.5 kB / 1.356 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.7499, allocations: 10.81 kB / 1.356 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.7499, allocations: 7.469 kB / 1.356 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.7499, allocations: 321.4 kB / 1.356 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.75, allocations: 48.62 kB / 1.356 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.7502, allocations: 118 kB / 1.357 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.7505, allocations: 79.16 kB / 1.357 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7505, allocations: 0 / 1.357 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004977/0.751, allocations: 198.6 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.751, allocations: 5.5 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.751, allocations: 1.625 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.7511, allocations: 9.844 kB / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.425e-05/0.7511, allocations: 3.703 kB / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.7511, allocations: 2.734 kB / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.7515, allocations: 90.69 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.7515, allocations: 11.62 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 5.89e-05/0.7516, allocations: 108.3 kB / 1.357 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.7516, allocations: 13.14 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.7516, allocations: 17.16 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.7516, allocations: 0.625 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7516, allocations: 0.75 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.7517, allocations: 9.156 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.7518, allocations: 174.6 kB / 1.357 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7518, allocations: 5.219 kB / 1.357 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-06/0.7518, allocations: 2.125 kB / 1.357 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.7518, allocations: 1.281 kB / 1.357 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.7518, allocations: 1.562 kB / 1.357 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.7518, allocations: 1.484 kB / 1.357 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7518, allocations: 4.906 kB / 1.357 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.957e-05/0.7519, allocations: 114.1 kB / 1.357 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.752, allocations: 84.69 kB / 1.357 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.752, allocations: 2.953 kB / 1.357 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.359e-05/0.752, allocations: 5.5 kB / 1.357 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.752, allocations: 8.219 kB / 1.357 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.752, allocations: 4.109 kB / 1.357 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.38e-05/0.7521, allocations: 118.5 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002619/0.7524, allocations: 43.98 kB / 1.358 GB, free: 12.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001213/0.7525, allocations: 114.7 kB / 1.358 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.7527, allocations: 151 kB / 1.358 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7527, allocations: 0 / 1.358 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.7528, allocations: 19.33 kB / 1.358 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.753, allocations: 17.98 kB / 1.358 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.7532, allocations: 159.5 kB / 1.358 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.7535, allocations: 0.7245 MB / 1.359 GB, free: 28.01 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/0.7535, allocations: 0 / 1.359 GB, free: 28.01 MB / 0.823 GB Notification: Performance of Templates: time 0.004626/0.7581, allocations: 1.973 MB / 1.361 GB, free: 27.83 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches