Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") [: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 10.0.0-master/package.mo): time 1.987/1.987, allocations: 390.4 MB / 397.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 182 kB / 490.8 MB, free: 11.1 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.302/1.302, allocations: 221.4 MB / 0.7863 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009992, allocations: 91.92 kB / 0.9264 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.666e-06, allocations: 4 kB / 1.072 GB, free: 15.52 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.8141, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.9934, allocations: 148.4 MB / 1.356 GB, free: 43.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.9936, allocations: 63.97 kB / 1.357 GB, free: 43.14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.0005627/0.9942, allocations: 97.06 kB / 1.357 GB, free: 43.05 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.9942, allocations: 1.812 kB / 1.357 GB, free: 43.05 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001658/0.9944, allocations: 310.6 kB / 1.357 GB, free: 42.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.9945, allocations: 8.031 kB / 1.357 GB, free: 42.69 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.9945, allocations: 1.969 kB / 1.357 GB, free: 42.69 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.64e-05/0.9946, allocations: 160.2 kB / 1.357 GB, free: 42.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.9946, allocations: 0 / 1.357 GB, free: 42.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.9946, allocations: 4 kB / 1.357 GB, free: 42.49 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.045e-05/0.9947, allocations: 8.625 kB / 1.357 GB, free: 42.48 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.834e-05/0.9947, allocations: 44.28 kB / 1.357 GB, free: 42.43 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.9948, allocations: 1.219 kB / 1.357 GB, free: 42.43 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.9948, allocations: 0 / 1.357 GB, free: 42.43 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.9948, allocations: 3.469 kB / 1.357 GB, free: 42.43 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.9949, allocations: 136.7 kB / 1.357 GB, free: 42.26 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.873e-05/0.995, allocations: 37.12 kB / 1.357 GB, free: 42.21 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.995, allocations: 14.47 kB / 1.357 GB, free: 42.19 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.995, allocations: 1.375 kB / 1.357 GB, free: 42.19 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.995, allocations: 39.36 kB / 1.357 GB, free: 42.14 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.995, allocations: 0 / 1.357 GB, free: 42.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001323/0.9952, allocations: 42.14 kB / 1.357 GB, free: 42.09 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.9952, allocations: 77.7 kB / 1.357 GB, free: 42 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.888e-05/0.9952, allocations: 86.53 kB / 1.358 GB, free: 41.91 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.565e-06/0.9953, allocations: 28.55 kB / 1.358 GB, free: 41.88 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.329e-05/0.9953, allocations: 80.14 kB / 1.358 GB, free: 41.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.9953, allocations: 13.38 kB / 1.358 GB, free: 41.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.9953, allocations: 0 / 1.358 GB, free: 41.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.9954, allocations: 318.8 kB / 1.358 GB, free: 41.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/0.9954, allocations: 0.75 kB / 1.358 GB, free: 41.46 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.9954, allocations: 14.75 kB / 1.358 GB, free: 41.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.718e-05/0.9954, allocations: 0.6562 kB / 1.358 GB, free: 41.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9954, allocations: 4 kB / 1.358 GB, free: 41.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.627e-05/0.9955, allocations: 34.89 kB / 1.358 GB, free: 41.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.9955, allocations: 8 kB / 1.358 GB, free: 41.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.9955, allocations: 0.9688 kB / 1.358 GB, free: 41.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.9955, allocations: 3.984 kB / 1.358 GB, free: 41.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.9956, allocations: 5.625 kB / 1.358 GB, free: 41.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.9956, allocations: 1 kB / 1.358 GB, free: 41.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.9956, allocations: 3.906 kB / 1.358 GB, free: 41.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.9956, allocations: 4.594 kB / 1.358 GB, free: 41.38 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.867e-05/0.9957, allocations: 101.6 kB / 1.358 GB, free: 41.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-06/0.9957, allocations: 0.9062 kB / 1.358 GB, free: 41.27 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.9958, allocations: 49.94 kB / 1.358 GB, free: 41.22 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.9958, allocations: 3.984 kB / 1.358 GB, free: 41.22 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9959, allocations: 4.594 kB / 1.358 GB, free: 41.21 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.9959, allocations: 5 kB / 1.358 GB, free: 41.21 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.429e-05/0.9959, allocations: 126.2 kB / 1.358 GB, free: 41.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.9959, allocations: 0 / 1.358 GB, free: 41.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.996, allocations: 4.906 kB / 1.358 GB, free: 41.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.996, allocations: 3.938 kB / 1.358 GB, free: 41.04 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.996, allocations: 6.312 kB / 1.358 GB, free: 41.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.996, allocations: 4 kB / 1.358 GB, free: 41.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.996, allocations: 0.7812 kB / 1.358 GB, free: 41.04 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.114e-05/0.9961, allocations: 86.36 kB / 1.358 GB, free: 40.93 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.9961, allocations: 81.11 kB / 1.358 GB, free: 40.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.9961, allocations: 0 / 1.358 GB, free: 40.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.644e-05/0.9961, allocations: 5 kB / 1.358 GB, free: 40.83 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.9961, allocations: 3.906 kB / 1.358 GB, free: 40.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.9962, allocations: 1.094 kB / 1.359 GB, free: 40.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.271e-05/0.9962, allocations: 75.28 kB / 1.359 GB, free: 40.75 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001958/0.9964, allocations: 4.656 kB / 1.359 GB, free: 40.75 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 9.612e-05/0.9965, allocations: 99.73 kB / 1.359 GB, free: 40.64 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.463e-05/0.9965, allocations: 8.719 kB / 1.359 GB, free: 40.63 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9966, allocations: 3.25 kB / 1.359 GB, free: 40.63 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-06/0.9966, allocations: 4 kB / 1.359 GB, free: 40.62 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.9967, allocations: 0 / 1.359 GB, free: 40.62 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001524/0.9968, allocations: 52.94 kB / 1.359 GB, free: 40.55 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.997, allocations: 0.6841 MB / 1.359 GB, free: 39.84 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/0.997, allocations: 0 / 1.359 GB, free: 39.84 MB / 0.8855 GB Notification: Performance of Templates: time 0.00171/0.9987, allocations: 213.1 kB / 1.36 GB, free: 39.66 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches