Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.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.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") [: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.371/1.371, allocations: 249.4 MB / 256.7 MB, free: 7.086 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.001062/0.001063, allocations: 177.2 kB / 316 MB, free: 3.582 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.3/1.3, allocations: 205.1 MB / 0.5667 GB, free: 15.63 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.0008898/0.0008898, allocations: 97.58 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.163e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2246, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.687/0.9117, allocations: 166.9 MB / 1.048 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.912, allocations: 102.2 kB / 1.048 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.0592/0.9712, allocations: 23.76 MB / 1.071 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.267e-05/0.9713, allocations: 16 kB / 1.071 GB, free: 2.059 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00111/0.9724, allocations: 0.6374 MB / 1.071 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.9725, allocations: 8.031 kB / 1.072 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.9737, allocations: 151.2 kB / 1.072 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.9742, allocations: 326.5 kB / 1.072 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.9742, allocations: 12 kB / 1.072 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/0.9743, allocations: 20 kB / 1.072 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006403/0.975, allocations: 396 kB / 1.072 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007615/0.9757, allocations: 0.5653 MB / 1.073 GB, free: 124 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.9758, allocations: 0 / 1.073 GB, free: 124 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.89e-05/0.9759, allocations: 4 kB / 1.073 GB, free: 120 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.41e-05/0.9759, allocations: 32.39 kB / 1.073 GB, free: 92 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/0.9796, allocations: 3.456 MB / 1.076 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.98, allocations: 310.2 kB / 1.077 GB, free: 12.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.9803, allocations: 170.5 kB / 1.077 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.9804, allocations: 4 kB / 1.077 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.9804, allocations: 41.94 kB / 1.077 GB, free: 12.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.9804, allocations: 0 / 1.077 GB, free: 12.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.00193/0.9823, allocations: 0.6344 MB / 1.077 GB, free: 11.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.9824, allocations: 87.86 kB / 1.078 GB, free: 11.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.9827, allocations: 259.3 kB / 1.078 GB, free: 11.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.9828, allocations: 29.7 kB / 1.078 GB, free: 11.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.9829, allocations: 244.2 kB / 1.078 GB, free: 11.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.618e-05/0.983, allocations: 88.56 kB / 1.078 GB, free: 11.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.983, allocations: 0 / 1.078 GB, free: 11.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.9832, allocations: 345.2 kB / 1.078 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.9835, allocations: 167.2 kB / 1.079 GB, free: 10.63 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.9838, allocations: 323.4 kB / 1.079 GB, free: 10.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.9843, allocations: 262.4 kB / 1.079 GB, free: 10.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9844, allocations: 0 / 1.079 GB, free: 10.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001885/0.9863, allocations: 0.7032 MB / 1.08 GB, free: 9.543 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001024/0.9873, allocations: 2.089 MB / 1.082 GB, free: 7.328 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.9873, allocations: 4 kB / 1.082 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.9886, allocations: 200.4 kB / 1.082 GB, free: 7.145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.9891, allocations: 95.31 kB / 1.082 GB, free: 7.055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.9905, allocations: 1.287 MB / 1.083 GB, free: 5.777 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.9909, allocations: 31.77 kB / 1.083 GB, free: 5.746 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.9909, allocations: 19.94 kB / 1.083 GB, free: 5.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.991, allocations: 8.125 kB / 1.084 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008687/0.9918, allocations: 447.9 kB / 1.084 GB, free: 5.387 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.9919, allocations: 8 kB / 1.084 GB, free: 5.379 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.9919, allocations: 8 kB / 1.084 GB, free: 5.371 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.9923, allocations: 103.8 kB / 1.084 GB, free: 5.273 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.9923, allocations: 8 kB / 1.084 GB, free: 5.266 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.9926, allocations: 19.89 kB / 1.084 GB, free: 5.246 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.9927, allocations: 19.44 kB / 1.084 GB, free: 5.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.9928, allocations: 132.4 kB / 1.084 GB, free: 5.098 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.9929, allocations: 31.62 kB / 1.084 GB, free: 5.066 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.9948, allocations: 0.6306 MB / 1.085 GB, free: 4.543 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.9948, allocations: 4 kB / 1.085 GB, free: 4.539 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9948, allocations: 3.938 kB / 1.085 GB, free: 4.535 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.9948, allocations: 7.984 kB / 1.085 GB, free: 4.527 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009363/0.9957, allocations: 0.5918 MB / 1.085 GB, free: 3.984 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9958, allocations: 144 / 1.085 GB, free: 3.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.996, allocations: 39.97 kB / 1.085 GB, free: 3.945 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/0.9977, allocations: 365.8 kB / 1.086 GB, free: 3.602 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.9977, allocations: 0 / 1.086 GB, free: 3.602 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003971/1.002, allocations: 3.231 MB / 1.089 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.002, allocations: 0 / 1.089 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001888/1.004, allocations: 0.8324 MB / 1.09 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/1.004, allocations: 146 kB / 1.09 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/1.004, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/1.004, allocations: 19.97 kB / 1.09 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/1.004, allocations: 19.83 kB / 1.09 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/1.004, allocations: 14.55 kB / 1.09 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002291/1.005, allocations: 203.5 kB / 1.09 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009102/1.006, allocations: 168.1 kB / 1.09 GB, free: 15.07 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/1.006, allocations: 115.2 kB / 1.09 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001409/1.007, allocations: 0.6945 MB / 1.091 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.007, allocations: 5.938 kB / 1.091 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007837/1.008, allocations: 432.3 kB / 1.092 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/1.008, allocations: 58.86 kB / 1.092 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/1.01, allocations: 0.5545 MB / 1.092 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/1.01, allocations: 0.8825 MB / 1.093 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/1.01, allocations: 0 / 1.093 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.01317/1.024, allocations: 7.191 MB / 1.1 GB, free: 5.453 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches