Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") [: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.912/1.912, 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.001024/0.001024, allocations: 181.2 kB / 487 MB, free: 5.348 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.286/1.286, allocations: 221.3 MB / 0.7819 GB, free: 1.438 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.0009394/0.0009395, allocations: 106 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.983e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2593, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7614/1.021, allocations: 154.3 MB / 1.356 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.021, allocations: 83.08 kB / 1.356 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01681/1.038, allocations: 6.571 MB / 1.362 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.816e-05/1.038, allocations: 12 kB / 1.362 GB, free: 14.32 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006631/1.039, allocations: 0.5483 MB / 1.363 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.039, allocations: 8.031 kB / 1.363 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.422e-05/1.039, allocations: 47.38 kB / 1.363 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/1.039, allocations: 380.3 kB / 1.363 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/1.039, allocations: 8 kB / 1.363 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/1.039, allocations: 19.91 kB / 1.363 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003482/1.04, allocations: 193.2 kB / 1.364 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/1.04, allocations: 262.8 kB / 1.364 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/1.04, allocations: 0 / 1.364 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/1.04, allocations: 4 kB / 1.364 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/1.04, allocations: 4 kB / 1.364 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/1.041, allocations: 1.099 MB / 1.365 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/1.042, allocations: 184.5 kB / 1.365 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/1.042, allocations: 81.36 kB / 1.365 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/1.042, allocations: 0 / 1.365 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/1.042, allocations: 38.59 kB / 1.365 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 8.51e-07/1.042, allocations: 0 / 1.365 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0003378/1.042, allocations: 182.2 kB / 1.365 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/1.042, allocations: 77.11 kB / 1.365 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/1.042, allocations: 236.6 kB / 1.366 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/1.042, allocations: 25.7 kB / 1.366 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/1.043, allocations: 166.2 kB / 1.366 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/1.043, allocations: 54.2 kB / 1.366 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-06/1.043, allocations: 0 / 1.366 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/1.043, allocations: 341.8 kB / 1.366 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.33e-05/1.043, allocations: 62.19 kB / 1.366 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/1.043, allocations: 103.1 kB / 1.366 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/1.043, allocations: 69.39 kB / 1.366 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.043, allocations: 0 / 1.366 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002708/1.043, allocations: 214.1 kB / 1.367 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/1.043, allocations: 270.7 kB / 1.367 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.043, allocations: 0 / 1.367 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/1.043, allocations: 0 / 1.367 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/1.044, allocations: 43.8 kB / 1.367 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/1.044, allocations: 0 / 1.367 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/1.044, allocations: 27.83 kB / 1.367 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/1.044, allocations: 4 kB / 1.367 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/1.044, allocations: 6.656 kB / 1.367 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002046/1.044, allocations: 142.9 kB / 1.367 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-06/1.044, allocations: 3.984 kB / 1.367 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-06/1.044, allocations: 4 kB / 1.367 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/1.044, allocations: 20 kB / 1.367 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/1.044, allocations: 4 kB / 1.367 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.563e-05/1.044, allocations: 11.89 kB / 1.367 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/1.044, allocations: 11.56 kB / 1.367 GB, free: 10.21 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 7.101e-05/1.044, allocations: 117 kB / 1.367 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/1.044, allocations: 23.72 kB / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.002e-05/1.044, allocations: 32.81 kB / 1.367 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/1.044, allocations: 0 / 1.367 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.044, allocations: 0 / 1.367 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.044, allocations: 0 / 1.367 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/1.045, allocations: 362.4 kB / 1.368 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.045, allocations: 0 / 1.368 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/1.045, allocations: 31.92 kB / 1.368 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.045, allocations: 4 kB / 1.368 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/1.045, allocations: 3.062 kB / 1.368 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.045, allocations: 0 / 1.368 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.045, allocations: 0 / 1.368 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003812/1.045, allocations: 374.3 kB / 1.368 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.251e-05/1.045, allocations: 126.9 kB / 1.368 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/1.045, allocations: 3.906 kB / 1.368 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/1.046, allocations: 16.05 kB / 1.368 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/1.046, allocations: 11.8 kB / 1.368 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/1.046, allocations: 4 kB / 1.368 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001303/1.046, allocations: 180.1 kB / 1.368 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003521/1.046, allocations: 87.67 kB / 1.368 GB, free: 9.051 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (actSet.y,actAct.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001262/1.046, allocations: 115.8 kB / 1.369 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003541/1.047, allocations: 238.2 kB / 1.369 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.047, allocations: 0 / 1.369 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.943e-05/1.047, allocations: 83.92 kB / 1.369 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/1.047, allocations: 68.03 kB / 1.369 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008077/1.048, allocations: 404.8 kB / 1.369 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/1.048, allocations: 0.8031 MB / 1.37 GB, free: 23.49 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/1.048, allocations: 0 / 1.37 GB, free: 23.49 MB / 0.823 GB Notification: Performance of Templates: time 0.006483/1.055, allocations: 3.822 MB / 1.374 GB, free: 19.72 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches