Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.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.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY") [: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.186/1.186, allocations: 249.4 MB / 256.7 MB, free: 6.961 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.000969/0.0009689, allocations: 179.6 kB / 316 MB, free: 3.508 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.012/1.012, allocations: 205.1 MB / 0.5667 GB, free: 15.58 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.0007705/0.0007705, allocations: 83.39 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/5.911e-06, allocations: 4 kB / 0.7808 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.129, allocations: 106.3 MB / 0.8846 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4302/0.5592, allocations: 194 MB / 1.074 GB, free: 10.95 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.5595, allocations: 117.3 kB / 1.074 GB, free: 10.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.3267/0.8862, allocations: 145.5 MB / 1.216 GB, free: 1.859 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001135/0.8864, allocations: 76 kB / 1.216 GB, free: 1.785 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: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.005702/0.8921, allocations: 3.204 MB / 1.219 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.8921, allocations: 12.03 kB / 1.219 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.9035, allocations: 1.786 MB / 1.221 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003869/0.9074, allocations: 2.326 MB / 1.223 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.9075, allocations: 127.9 kB / 1.224 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005505/0.9081, allocations: 224 kB / 1.224 GB, free: 10 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00849/0.9166, allocations: 5.287 MB / 1.229 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009036/0.9256, allocations: 6.061 MB / 1.235 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.701e-05/0.9257, allocations: 11.88 kB / 1.235 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003909/0.9261, allocations: 4 kB / 1.235 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000446/0.9266, allocations: 322.7 kB / 1.235 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2359/1.163, allocations: 28.36 MB / 1.263 GB, free: 314.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/1.165, allocations: 2.525 MB / 1.265 GB, free: 314.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/1.167, allocations: 1.618 MB / 1.267 GB, free: 314.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/1.167, allocations: 126.6 kB / 1.267 GB, free: 314.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/1.167, allocations: 64.08 kB / 1.267 GB, free: 314.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=176): time 3.437e-06/1.167, allocations: 0 / 1.267 GB, free: 314.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=221): time 0.02549/1.193, allocations: 13.29 MB / 1.28 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/1.193, allocations: 232.2 kB / 1.28 GB, free: 311.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/1.194, allocations: 1.369 MB / 1.282 GB, free: 311.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000178/1.195, allocations: 25.7 kB / 1.282 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00053/1.195, allocations: 1.624 MB / 1.283 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004494/1.196, allocations: 0.73 MB / 1.284 GB, free: 310.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.196, allocations: 0 / 1.284 GB, free: 310.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.196, allocations: 440.7 kB / 1.284 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/1.198, allocations: 1.976 MB / 1.286 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/1.2, allocations: 3.069 MB / 1.289 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004102/1.204, allocations: 2.902 MB / 1.292 GB, free: 308.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/1.204, allocations: 11.16 kB / 1.292 GB, free: 308.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01307/1.218, allocations: 7.452 MB / 1.299 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002057/1.22, allocations: 14.08 MB / 1.313 GB, free: 293.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.075e-05/1.22, allocations: 33.53 kB / 1.313 GB, free: 293.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01129/1.231, allocations: 3.174 MB / 1.316 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003822/1.235, allocations: 0.824 MB / 1.317 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01604/1.251, allocations: 11.03 MB / 1.328 GB, free: 291.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/1.255, allocations: 368.6 kB / 1.328 GB, free: 291.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/1.255, allocations: 205 kB / 1.328 GB, free: 291.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/1.255, allocations: 6.625 kB / 1.328 GB, free: 291.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007047/1.262, allocations: 5.038 MB / 1.333 GB, free: 291.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.531e-05/1.262, allocations: 36.91 kB / 1.333 GB, free: 291.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.878e-05/1.262, allocations: 55.41 kB / 1.333 GB, free: 291.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00486/1.267, allocations: 1.099 MB / 1.335 GB, free: 291.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.724e-05/1.267, allocations: 73.45 kB / 1.335 GB, free: 291.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/1.27, allocations: 318.7 kB / 1.335 GB, free: 291.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002965/1.271, allocations: 204.3 kB / 1.335 GB, free: 291.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 328 * 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: 1 {(6,100.0%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0005617/1.271, allocations: 203.3 kB / 1.335 GB, free: 291.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004506/1.272, allocations: 191.2 kB / 1.335 GB, free: 291.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/1.285, allocations: 6.67 MB / 1.342 GB, free: 290.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/1.285, allocations: 23.28 kB / 1.342 GB, free: 290.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/1.285, allocations: 15.66 kB / 1.342 GB, free: 290.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.008e-05/1.285, allocations: 10.73 kB / 1.342 GB, free: 290.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/1.304, allocations: 11.3 MB / 1.353 GB, free: 286 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/1.304, allocations: 11.88 kB / 1.353 GB, free: 286 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002838/1.307, allocations: 0.5057 MB / 1.354 GB, free: 286 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01289/1.32, allocations: 3.645 MB / 1.357 GB, free: 285.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004547/1.32, allocations: 53.83 kB / 1.357 GB, free: 285.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01669/1.337, allocations: 10.85 MB / 1.368 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/1.337, allocations: 12.22 kB / 1.368 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01163/1.349, allocations: 7.065 MB / 1.375 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.35, allocations: 0.6756 MB / 1.375 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004187/1.35, allocations: 15.91 kB / 1.375 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003082/1.353, allocations: 336.4 kB / 1.376 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/1.354, allocations: 149.2 kB / 1.376 GB, free: 272 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/1.354, allocations: 118.1 kB / 1.376 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001062/1.355, allocations: 0.9997 MB / 1.377 GB, free: 271 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004142/1.359, allocations: 1.414 MB / 1.378 GB, free: 269.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 152 * 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: 1 {(6,100.0%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003373/1.359, allocations: 153.2 kB / 1.378 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0108/1.37, allocations: 7.685 MB / 1.386 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.37, allocations: 4.375 kB / 1.386 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005045/1.375, allocations: 2.709 MB / 1.389 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/1.377, allocations: 168.1 kB / 1.389 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/1.395, allocations: 7.472 MB / 1.396 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00319/1.399, allocations: 3.136 MB / 1.399 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/1.399, allocations: 0 / 1.399 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.07574/1.474, allocations: 66.95 MB / 1.465 GB, free: 192.4 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_YY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches