Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") [: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 7.0.3-maint.7.0.x/package.mo): time 1.286/1.286, allocations: 249.4 MB / 256.7 MB, free: 15.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 190 kB / 316 MB, free: 7.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.1 MB / 0.5667 GB, free: 23.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009032/0.0009031, allocations: 86.59 kB / 0.671 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.424e-06, allocations: 0 / 0.7807 GB, free: 396 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5792/0.5792, allocations: 106.3 MB / 0.8846 GB, free: 76.35 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.7436, allocations: 130.6 MB / 1.012 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.7439, allocations: 71.95 kB / 1.012 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.001737/0.7456, allocations: 382.2 kB / 1.013 GB, free: 9.094 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.7456, allocations: 0 / 1.013 GB, free: 9.094 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004343/0.7461, allocations: 344.8 kB / 1.013 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.7461, allocations: 8.031 kB / 1.013 GB, free: 8.707 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.7462, allocations: 15.84 kB / 1.013 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.7464, allocations: 171 kB / 1.013 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.7464, allocations: 0 / 1.013 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.7464, allocations: 4 kB / 1.013 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.273e-05/0.7465, allocations: 12 kB / 1.013 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.642e-05/0.7466, allocations: 41.69 kB / 1.013 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.7466, allocations: 0 / 1.013 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.7466, allocations: 3.906 kB / 1.013 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.7467, allocations: 0 / 1.013 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.7471, allocations: 265.4 kB / 1.013 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 6.054e-05/0.7471, allocations: 26.58 kB / 1.013 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.7472, allocations: 12.92 kB / 1.013 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.7472, allocations: 0 / 1.013 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.968e-05/0.7473, allocations: 51.39 kB / 1.013 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 3.437e-06/0.7473, allocations: 0 / 1.013 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0001553/0.7474, allocations: 49.62 kB / 1.014 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.7475, allocations: 51.41 kB / 1.014 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/0.7476, allocations: 100.9 kB / 1.014 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.7476, allocations: 29.7 kB / 1.014 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.7477, allocations: 84.12 kB / 1.014 GB, free: 7.664 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.7477, allocations: 11.91 kB / 1.014 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.7477, allocations: 0 / 1.014 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7478, allocations: 310.8 kB / 1.014 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.7479, allocations: 8 kB / 1.014 GB, free: 7.332 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.7479, allocations: 13.72 kB / 1.014 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/0.7479, allocations: 11.98 kB / 1.014 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7479, allocations: 4 kB / 1.014 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.943e-05/0.748, allocations: 57.53 kB / 1.014 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.748, allocations: 4 kB / 1.014 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.748, allocations: 0 / 1.014 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7481, allocations: 0 / 1.014 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.157e-05/0.7481, allocations: 4 kB / 1.014 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.7481, allocations: 0 / 1.014 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.007e-05/0.7482, allocations: 12.02 kB / 1.014 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.7482, allocations: 7.938 kB / 1.014 GB, free: 7.207 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.293e-05/0.7483, allocations: 107 kB / 1.014 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.7483, allocations: 4 kB / 1.014 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.7484, allocations: 3.688 kB / 1.014 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7484, allocations: 3.938 kB / 1.014 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7484, allocations: 3.938 kB / 1.014 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.7484, allocations: 0 / 1.014 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.7485, allocations: 150.1 kB / 1.014 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7485, allocations: 0 / 1.014 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-06/0.7485, allocations: 8 kB / 1.014 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.7485, allocations: 0 / 1.014 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.7486, allocations: 0 / 1.014 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.7486, allocations: 4 kB / 1.014 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7486, allocations: 0 / 1.014 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.725e-05/0.7487, allocations: 69.03 kB / 1.015 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.7487, allocations: 77.11 kB / 1.015 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.7487, allocations: 0 / 1.015 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.767e-05/0.7488, allocations: 19.89 kB / 1.015 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.7489, allocations: 0 / 1.015 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.7489, allocations: 4.234 kB / 1.015 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.946e-05/0.7489, allocations: 87.28 kB / 1.015 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0001819/0.7491, allocations: 8 kB / 1.015 GB, free: 6.59 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booRep.y[3],booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001361/0.7493, allocations: 99.19 kB / 1.015 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.839e-05/0.7494, allocations: 20 kB / 1.015 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.7494, allocations: 0 / 1.015 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.549e-05/0.7494, allocations: 16.31 kB / 1.015 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.7496, allocations: 4 kB / 1.015 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.7499, allocations: 69.61 kB / 1.015 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.7502, allocations: 0.6915 MB / 1.016 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of SimCode: time 2.61e-07/0.7502, allocations: 0 / 1.016 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of Templates: time 0.002297/0.7525, allocations: 490.4 kB / 1.016 GB, free: 5.16 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches