Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.723/1.723, allocations: 390.4 MB / 397.7 MB, free: 11.17 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.0009209/0.0009209, allocations: 185.3 kB / 490.8 MB, free: 1.879 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.061/1.061, allocations: 221.4 MB / 0.7863 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008207/0.0008208, allocations: 83.2 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.651e-06/5.671e-06, allocations: 8 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1654, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4765/0.6419, allocations: 184.5 MB / 1.392 GB, free: 14.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.6422, allocations: 98.33 kB / 1.392 GB, free: 14.16 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.0581/0.7003, allocations: 30.17 MB / 1.421 GB, free: 6.941 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.7003, allocations: 15.98 kB / 1.421 GB, free: 6.926 MB / 0.8386 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.0007694/0.7011, allocations: 0.635 MB / 1.422 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.7011, allocations: 12.03 kB / 1.422 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009946/0.7021, allocations: 139.3 kB / 1.422 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.7025, allocations: 341.3 kB / 1.422 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.7025, allocations: 12 kB / 1.422 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/0.7026, allocations: 20 kB / 1.422 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005412/0.7031, allocations: 400.7 kB / 1.423 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.7038, allocations: 0.5624 MB / 1.423 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.7038, allocations: 3.906 kB / 1.423 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.7039, allocations: 4 kB / 1.423 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.7039, allocations: 31.64 kB / 1.423 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.7067, allocations: 3.449 MB / 1.427 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.707, allocations: 316.5 kB / 1.427 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.7072, allocations: 169.6 kB / 1.427 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.7073, allocations: 4 kB / 1.427 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.7073, allocations: 34.47 kB / 1.427 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.7073, allocations: 4 kB / 1.427 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.001562/0.7089, allocations: 0.6294 MB / 1.428 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.7089, allocations: 77.11 kB / 1.428 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.7091, allocations: 270.6 kB / 1.428 GB, free: 276 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.7092, allocations: 25.7 kB / 1.428 GB, free: 244 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.7093, allocations: 254.1 kB / 1.429 GB, free: 4 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.7093, allocations: 85.67 kB / 1.429 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.7093, allocations: 0 / 1.429 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.7094, allocations: 343.5 kB / 1.429 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.7096, allocations: 166.8 kB / 1.429 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.7099, allocations: 329.9 kB / 1.429 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.7103, allocations: 246.7 kB / 1.43 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.7103, allocations: 4 kB / 1.43 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001556/0.7119, allocations: 0.7118 MB / 1.43 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005138/0.7124, allocations: 2.092 MB / 1.432 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7124, allocations: 8 kB / 1.432 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.7135, allocations: 197.5 kB / 1.433 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.7139, allocations: 90.83 kB / 1.433 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.7149, allocations: 1.292 MB / 1.434 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.7153, allocations: 23.88 kB / 1.434 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.7153, allocations: 26.44 kB / 1.434 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.7153, allocations: 4 kB / 1.434 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006565/0.716, allocations: 459.3 kB / 1.434 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.716, allocations: 12.56 kB / 1.434 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.716, allocations: 11.98 kB / 1.434 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.7164, allocations: 107.3 kB / 1.435 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.7164, allocations: 15.92 kB / 1.435 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.7167, allocations: 15.84 kB / 1.435 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.7167, allocations: 27.8 kB / 1.435 GB, free: 10.05 MB / 0.8542 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 9.17e-05/0.7168, allocations: 119.7 kB / 1.435 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/0.7169, allocations: 31.62 kB / 1.435 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.7185, allocations: 0.6328 MB / 1.435 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7185, allocations: 0 / 1.435 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7185, allocations: 4 kB / 1.435 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.7185, allocations: 0 / 1.435 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006663/0.7192, allocations: 0.594 MB / 1.436 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.7192, allocations: 4 kB / 1.436 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.7194, allocations: 35.92 kB / 1.436 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.7208, allocations: 361.5 kB / 1.436 GB, free: 8.457 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.7208, allocations: 4 kB / 1.436 GB, free: 8.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/0.7239, allocations: 3.225 MB / 1.439 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7239, allocations: 8.062 kB / 1.44 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00152/0.7254, allocations: 0.8243 MB / 1.44 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.7255, allocations: 138.6 kB / 1.44 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.7256, allocations: 7.906 kB / 1.44 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.7259, allocations: 27.84 kB / 1.44 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.726, allocations: 19.53 kB / 1.44 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.726, allocations: 7.312 kB / 1.441 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001465/0.7261, allocations: 197.3 kB / 1.441 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006228/0.7268, allocations: 172.1 kB / 1.441 GB, free: 3.934 MB / 0.8542 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.0001315/0.7269, allocations: 121.3 kB / 1.441 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.728, allocations: 0.6955 MB / 1.442 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.728, allocations: 0 / 1.442 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006022/0.7286, allocations: 447.5 kB / 1.442 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.729, allocations: 50.89 kB / 1.442 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.7299, allocations: 0.5491 MB / 1.443 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/0.7303, allocations: 0.8829 MB / 1.444 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of SimCode: time 2.71e-07/0.7303, allocations: 0 / 1.444 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of Templates: time 0.01009/0.7404, allocations: 7.172 MB / 1.451 GB, free: 10.32 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches