Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009142/0.0009142, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009213/0.0009213, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9781/0.9781, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.829/1.829, allocations: 377.9 MB / 0.6239 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.431e-05, allocations: 2.312 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02232/0.02235, allocations: 20.92 MB / 0.8324 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01362/0.03596, allocations: 6.158 MB / 0.8385 GB, free: 6.305 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003865/0.03983, allocations: 206.5 kB / 0.8387 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002532/0.04236, allocations: 0.92 MB / 0.8396 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004592/0.04695, allocations: 2.051 MB / 0.8416 GB, free: 3.125 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.05078, allocations: 1.841 MB / 0.8434 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.009245/0.06002, allocations: 9.333 MB / 0.8525 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008225/0.06825, allocations: 6.183 MB / 0.8585 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008921/0.07717, allocations: 5.755 MB / 0.8641 GB, free: 11.85 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006622/0.08379, allocations: 4.537 MB / 0.8686 GB, free: 7.305 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.002511/0.0863, allocations: 0.8203 MB / 0.8694 GB, free: 6.484 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.08977, allocations: 0.9099 MB / 0.8703 GB, free: 5.574 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.004487/0.09425, allocations: 3.403 MB / 0.8736 GB, free: 2.164 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.006195/0.1005, allocations: 2.589 MB / 0.8761 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.008028/0.1085, allocations: 6.331 MB / 0.8823 GB, free: 9.223 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1085, allocations: 0 / 0.8823 GB, free: 9.223 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1085, allocations: 4 kB / 0.8823 GB, free: 9.219 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002841/0.1088, allocations: 4 kB / 0.8823 GB, free: 9.215 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.007746/0.1165, allocations: 6.534 MB / 0.8887 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1166, allocations: 12.03 kB / 0.8887 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/0.1191, allocations: 1.495 MB / 0.8901 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/0.1228, allocations: 3.149 MB / 0.8932 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.1231, allocations: 427.7 kB / 0.8936 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005638/0.1236, allocations: 0.5627 MB / 0.8942 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006503/0.1301, allocations: 5.881 MB / 0.8999 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.482e-05/0.1302, allocations: 20 kB / 0.8999 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003448/0.1306, allocations: 248.3 kB / 0.9002 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003508/0.1309, allocations: 422.9 kB / 0.9006 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.1335, allocations: 1.69 MB / 0.9022 GB, free: 3.98 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02245/0.1559, allocations: 26.69 MB / 0.9283 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.1574, allocations: 1.271 MB / 0.9295 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008463/0.1582, allocations: 0.8199 MB / 0.9303 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.688e-05/0.1583, allocations: 34 kB / 0.9304 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.1584, allocations: 67.25 kB / 0.9304 GB, free: 6.336 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=209): time 3.446e-06/0.1584, allocations: 0 / 0.9304 GB, free: 6.336 MB / 0.8855 GB Notification: Performance of matching and sorting (n=212): time 0.0107/0.1691, allocations: 5.407 MB / 0.9357 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.1691, allocations: 73.41 kB / 0.9358 GB, free: 0.832 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.1704, allocations: 1.667 MB / 0.9374 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-05/0.1704, allocations: 61.7 kB / 0.9375 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.1715, allocations: 2.544 MB / 0.94 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000647/0.1722, allocations: 0.7903 MB / 0.9407 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/0.1726, allocations: 499.8 kB / 0.9412 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.1727, allocations: 484.7 kB / 0.9417 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.1732, allocations: 345 kB / 0.942 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008665/0.174, allocations: 1.403 MB / 0.9434 GB, free: 8.551 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.1755, allocations: 1.948 MB / 0.9453 GB, free: 6.176 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.1755, allocations: 4 kB / 0.9453 GB, free: 6.172 MB / 0.9011 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.003192/0.1787, allocations: 2.579 MB / 0.9478 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1787, allocations: 12 kB / 0.9478 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.1787, allocations: 24 kB / 0.9478 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/0.1808, allocations: 1.18 MB / 0.949 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008056/0.1816, allocations: 403.3 kB / 0.9494 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008861/0.1905, allocations: 11.91 MB / 0.961 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.1916, allocations: 80.06 kB / 0.9611 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.1917, allocations: 84 kB / 0.9612 GB, free: 5.426 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001005/0.1927, allocations: 315.8 kB / 0.9615 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/0.1931, allocations: 346.3 kB / 0.9618 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.1954, allocations: 2.034 MB / 0.9638 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.1954, allocations: 20 kB / 0.9638 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.1955, allocations: 16 kB / 0.9638 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.1955, allocations: 19.89 kB / 0.9638 GB, free: 2.641 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006353/0.2018, allocations: 4.764 MB / 0.9685 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.2018, allocations: 4 kB / 0.9685 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.2023, allocations: 183.7 kB / 0.9687 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001961/0.2042, allocations: 1.025 MB / 0.9697 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.87e-05/0.2043, allocations: 40 kB / 0.9697 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009322/0.2137, allocations: 11.85 MB / 0.9813 GB, free: 180 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.2137, allocations: 11.94 kB / 0.9813 GB, free: 168 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003593/0.2172, allocations: 2.334 MB / 0.9835 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007573/0.218, allocations: 478 kB / 0.984 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.2182, allocations: 40 kB / 0.984 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.2187, allocations: 44 kB / 0.9841 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004111/0.2191, allocations: 189.5 kB / 0.9843 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.517e-05/0.2192, allocations: 51.94 kB / 0.9843 GB, free: 12.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000707/0.2199, allocations: 0.8829 MB / 0.9852 GB, free: 12.03 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.2199, allocations: 0 / 0.9852 GB, free: 12.03 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002843/0.2227, allocations: 1.137 MB / 0.9863 GB, free: 10.89 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002685/0.223, allocations: 169.3 kB / 0.9864 GB, free: 10.72 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003911/0.2269, allocations: 2.923 MB / 0.9893 GB, free: 7.727 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.2269, allocations: 0 / 0.9893 GB, free: 7.727 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002081/0.229, allocations: 2.184 MB / 0.9914 GB, free: 5.469 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.2313, allocations: 0.8129 MB / 0.9922 GB, free: 4.664 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.2436, allocations: 8.414 MB / 1 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/0.2454, allocations: 1.397 MB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001229/0.2466, allocations: 315.4 kB / 1.002 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/0.248, allocations: 0.7984 MB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of SimCode: time 1.683e-06/0.248, allocations: 0 / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of Templates: time 0.07305/0.3211, allocations: 55.63 MB / 1.057 GB, free: 2.988 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.474187686573714]