Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") [: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.373/1.373, allocations: 249.4 MB / 256.7 MB, free: 7.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 184.9 kB / 316 MB, free: 3.605 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.55/1.55, allocations: 205.1 MB / 0.5667 GB, free: 15.67 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.001056/0.001056, allocations: 77.77 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.177e-06/9.197e-06, allocations: 4 kB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.169, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4807/0.6498, allocations: 131.6 MB / 1.013 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.65, allocations: 67.09 kB / 1.013 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003742/0.6537, allocations: 1.121 MB / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.6538, allocations: 3.938 kB / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004923/0.6543, allocations: 365.6 kB / 1.015 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.6543, allocations: 8.031 kB / 1.015 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.6544, allocations: 7.906 kB / 1.015 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.6545, allocations: 167 kB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.6546, allocations: 3.984 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.6546, allocations: 3.938 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.492e-05/0.6547, allocations: 25.06 kB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.658e-05/0.6548, allocations: 44.48 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.6548, allocations: 3.984 kB / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.6548, allocations: 0 / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.6548, allocations: 3.938 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.6554, allocations: 284.3 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.184e-05/0.6555, allocations: 37.56 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.6555, allocations: 15.67 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.6555, allocations: 0 / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.6556, allocations: 34.19 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.6556, allocations: 0 / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.00018/0.6558, allocations: 53.5 kB / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.6558, allocations: 55.41 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.04e-05/0.6559, allocations: 103.4 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.6559, allocations: 25.7 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.6559, allocations: 84.12 kB / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.656, allocations: 7.844 kB / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-06/0.656, allocations: 0 / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.6561, allocations: 318 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.6561, allocations: 7.312 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.6562, allocations: 7.938 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.659e-05/0.6562, allocations: 11.86 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6562, allocations: 7.906 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.664e-05/0.6563, allocations: 48.27 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.6563, allocations: 4 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.6564, allocations: 0 / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.6564, allocations: 0 / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.6565, allocations: 27.91 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6565, allocations: 8.625 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.767e-05/0.6567, allocations: 19.89 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.6567, allocations: 0 / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.997e-05/0.6567, allocations: 105 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.6568, allocations: 7.906 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.6568, allocations: 7.75 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6568, allocations: 0.5625 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6568, allocations: 3.984 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6568, allocations: 0 / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.657, allocations: 145.8 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.657, allocations: 0.5625 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.6571, allocations: 23.98 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6571, allocations: 7.938 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.6571, allocations: 7.844 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6571, allocations: 4 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6572, allocations: 0 / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001219/0.6573, allocations: 159.5 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.6573, allocations: 77.11 kB / 1.017 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.6574, allocations: 3.984 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.6575, allocations: 15.98 kB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.6575, allocations: 4 kB / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.6576, allocations: 4 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.379e-05/0.6576, allocations: 99.41 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002065/0.6578, allocations: 4 kB / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001285/0.6579, allocations: 99.25 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.848e-05/0.658, allocations: 20.05 kB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.6581, allocations: 0 / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.6581, allocations: 11.5 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.6583, allocations: 19.03 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.6585, allocations: 74.7 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.6588, allocations: 0.6915 MB / 1.018 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.6588, allocations: 0 / 1.018 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of Templates: time 0.002286/0.6611, allocations: 0.635 MB / 1.018 GB, free: 2.047 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches