Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [: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.698/1.698, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.000925/0.000925, allocations: 185.2 kB / 490.8 MB, free: 1.934 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.049/1.049, allocations: 221.3 MB / 0.7863 GB, free: 13.64 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.0008078/0.0008078, allocations: 86.5 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.879e-06/4.889e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1667, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4554/0.6221, allocations: 165.9 MB / 1.374 GB, free: 17.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.6223, allocations: 91.61 kB / 1.374 GB, free: 17.03 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.06145/0.6838, allocations: 32.11 MB / 1.405 GB, free: 4.793 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.949e-05/0.6838, allocations: 23.75 kB / 1.405 GB, free: 4.773 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0008304/0.6847, allocations: 0.7739 MB / 1.406 GB, free: 19.99 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.6847, allocations: 19.91 kB / 1.406 GB, free: 19.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.6858, allocations: 202.8 kB / 1.406 GB, free: 19.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.6864, allocations: 0.4896 MB / 1.406 GB, free: 19.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.6864, allocations: 12 kB / 1.406 GB, free: 19.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.6865, allocations: 28 kB / 1.407 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004994/0.687, allocations: 436.8 kB / 1.407 GB, free: 18.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/0.6876, allocations: 0.8575 MB / 1.408 GB, free: 18.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.6877, allocations: 19.81 kB / 1.408 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.6877, allocations: 4 kB / 1.408 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/0.6878, allocations: 55.75 kB / 1.408 GB, free: 18.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.6907, allocations: 5.558 MB / 1.413 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.6911, allocations: 426.6 kB / 1.414 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.6914, allocations: 232.4 kB / 1.414 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.6914, allocations: 11.98 kB / 1.414 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.6914, allocations: 30.56 kB / 1.414 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/0.6914, allocations: 0 / 1.414 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001208/0.6927, allocations: 0.8216 MB / 1.415 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.6927, allocations: 55.41 kB / 1.415 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.693, allocations: 366.9 kB / 1.415 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.693, allocations: 25.7 kB / 1.415 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.6932, allocations: 295.7 kB / 1.415 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.6932, allocations: 111.9 kB / 1.416 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.6933, allocations: 0 / 1.416 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.6933, allocations: 362.6 kB / 1.416 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.6936, allocations: 180.3 kB / 1.416 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.6939, allocations: 401.5 kB / 1.416 GB, free: 9.648 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.6941, allocations: 244.8 kB / 1.417 GB, free: 9.477 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6941, allocations: 4 kB / 1.417 GB, free: 9.473 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009416/0.6951, allocations: 0.7074 MB / 1.417 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.6951, allocations: 4 kB / 1.417 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6951, allocations: 8 kB / 1.417 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004139/0.6955, allocations: 147.7 kB / 1.418 GB, free: 8.734 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.6959, allocations: 115 kB / 1.418 GB, free: 8.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.6983, allocations: 3.852 MB / 1.421 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.6985, allocations: 15.98 kB / 1.421 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.6986, allocations: 23.75 kB / 1.421 GB, free: 4.535 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.6987, allocations: 144 kB / 1.422 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/0.6988, allocations: 55.34 kB / 1.422 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008058/0.6996, allocations: 0.569 MB / 1.422 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6996, allocations: 7.938 kB / 1.422 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6996, allocations: 8 kB / 1.422 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.6996, allocations: 3.984 kB / 1.422 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.701, allocations: 1.181 MB / 1.423 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.701, allocations: 0 / 1.423 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.7012, allocations: 55.45 kB / 1.423 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003727/0.7016, allocations: 143.2 kB / 1.424 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.7017, allocations: 4 kB / 1.424 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.7039, allocations: 3.848 MB / 1.427 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7039, allocations: 0 / 1.427 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008001/0.7047, allocations: 0.772 MB / 1.428 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.7049, allocations: 161.7 kB / 1.428 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.469e-05/0.705, allocations: 11.89 kB / 1.428 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.7052, allocations: 11.98 kB / 1.428 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.7052, allocations: 19.92 kB / 1.428 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.7053, allocations: 11.94 kB / 1.428 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001974/0.7055, allocations: 272.6 kB / 1.429 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000471/0.7059, allocations: 120 kB / 1.429 GB, free: 13.34 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001106/0.7061, allocations: 103.4 kB / 1.429 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000982/0.707, allocations: 0.9648 MB / 1.43 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.7071, allocations: 4.125 kB / 1.43 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006312/0.7077, allocations: 0.6991 MB / 1.43 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006537/0.7084, allocations: 171.5 kB / 1.431 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.7095, allocations: 0.7661 MB / 1.431 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.7099, allocations: 0.9655 MB / 1.432 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of SimCode: time 2.3e-07/0.7099, allocations: 0 / 1.432 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of Templates: time 0.01052/0.7204, allocations: 7.014 MB / 1.439 GB, free: 2.863 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches