Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0009843/0.0009843, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001097/0.001097, allocations: 165 kB / 24.17 MB, free: 328 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.9999/0.9999, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.988/1.988, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.184e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01499/0.01501, allocations: 19.9 MB / 0.7795 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.02866, allocations: 10.27 MB / 0.7895 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.03108, allocations: 214.4 kB / 0.7897 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.03278, allocations: 0.8578 MB / 0.7906 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005119/0.0379, allocations: 2.823 MB / 0.7933 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003158/0.04106, allocations: 1.868 MB / 0.7952 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.009787/0.05085, allocations: 8.923 MB / 0.8039 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007477/0.05833, allocations: 5.685 MB / 0.8094 GB, free: 3.828 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008841/0.06717, allocations: 5.699 MB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006266/0.07343, allocations: 3.805 MB / 0.8187 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001452/0.07488, allocations: 0.7081 MB / 0.8194 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.07685, allocations: 0.8044 MB / 0.8202 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002714/0.07956, allocations: 3.044 MB / 0.8232 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003564/0.08312, allocations: 2.372 MB / 0.8255 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.006677/0.0898, allocations: 5.726 MB / 0.8311 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.08981, allocations: 0 / 0.8311 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.533e-06/0.08981, allocations: 0 / 0.8311 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000131/0.08994, allocations: 0.8438 kB / 0.8311 GB, free: 13.63 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.007079/0.09702, allocations: 5.634 MB / 0.8366 GB, free: 7.953 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.09705, allocations: 12.03 kB / 0.8366 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.1024, allocations: 1.509 MB / 0.8381 GB, free: 6.434 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/0.1064, allocations: 2.693 MB / 0.8407 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.1066, allocations: 378.4 kB / 0.841 GB, free: 3.305 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006694/0.1073, allocations: 0.5003 MB / 0.8415 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006139/0.1135, allocations: 4.875 MB / 0.8463 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.1136, allocations: 27.77 kB / 0.8463 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004211/0.114, allocations: 212 kB / 0.8465 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005958/0.1146, allocations: 365.7 kB / 0.8469 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.1171, allocations: 1.305 MB / 0.8481 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.1351, allocations: 16.58 MB / 0.8643 GB, free: 10.52 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008668/0.136, allocations: 0.8042 MB / 0.8651 GB, free: 9.711 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.1367, allocations: 0.6121 MB / 0.8657 GB, free: 9.102 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.535e-05/0.1368, allocations: 30 kB / 0.8657 GB, free: 9.07 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.1368, allocations: 56.56 kB / 0.8658 GB, free: 9.008 MB / 0.823 GB Notification: Performance of pre-optimization done (n=171): time 3.527e-06/0.1368, allocations: 0 / 0.8658 GB, free: 9.008 MB / 0.823 GB Notification: Performance of matching and sorting (n=174): time 0.01404/0.1509, allocations: 6.569 MB / 0.8722 GB, free: 2.414 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.1509, allocations: 77.41 kB / 0.8723 GB, free: 2.324 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.1522, allocations: 1.69 MB / 0.8739 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.883e-05/0.1523, allocations: 57.7 kB / 0.874 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008493/0.1532, allocations: 1.991 MB / 0.8759 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.1536, allocations: 0.6157 MB / 0.8765 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/0.1539, allocations: 367.7 kB / 0.8769 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003503/0.1543, allocations: 308.9 kB / 0.8772 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.1547, allocations: 256.2 kB / 0.8774 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/0.1553, allocations: 0.8249 MB / 0.8782 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.1564, allocations: 1.313 MB / 0.8795 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.1565, allocations: 8 kB / 0.8795 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002783/0.1592, allocations: 1.998 MB / 0.8815 GB, free: 8.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1593, allocations: 12 kB / 0.8815 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.1593, allocations: 16 kB / 0.8815 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/0.162, allocations: 1.213 MB / 0.8827 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000794/0.1628, allocations: 367.4 kB / 0.883 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007928/0.1707, allocations: 7.664 MB / 0.8905 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.172, allocations: 64 kB / 0.8906 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.1721, allocations: 71.98 kB / 0.8907 GB, free: 14.64 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (187): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(10,28,71.0%), (6,24,77.8%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00132/0.1734, allocations: 240 kB / 0.8909 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.1738, allocations: 239.7 kB / 0.8911 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.1762, allocations: 1.767 MB / 0.8928 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.1762, allocations: 16 kB / 0.8929 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/0.1763, allocations: 16 kB / 0.8929 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.1763, allocations: 7.969 kB / 0.8929 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005529/0.1818, allocations: 3.626 MB / 0.8964 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.1818, allocations: 4.125 kB / 0.8964 GB, free: 8.605 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/0.1823, allocations: 196.2 kB / 0.8966 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002916/0.1852, allocations: 1.177 MB / 0.8978 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.1853, allocations: 31.94 kB / 0.8978 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007996/0.1933, allocations: 7.648 MB / 0.9053 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1933, allocations: 7.938 kB / 0.9053 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.196, allocations: 1.875 MB / 0.9071 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006774/0.1967, allocations: 378 kB / 0.9075 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.1969, allocations: 36 kB / 0.9075 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005463/0.1974, allocations: 40.12 kB / 0.9075 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/0.1978, allocations: 160.9 kB / 0.9077 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/0.1979, allocations: 36 kB / 0.9077 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007267/0.1986, allocations: 0.8469 MB / 0.9085 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/0.1986, allocations: 0 / 0.9085 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002163/0.2008, allocations: 1.062 MB / 0.9096 GB, free: 10.74 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002133/0.201, allocations: 132.2 kB / 0.9097 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002879/0.2039, allocations: 2.147 MB / 0.9118 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.09e-05/0.2039, allocations: 29.81 kB / 0.9118 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.2056, allocations: 1.566 MB / 0.9134 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.2077, allocations: 0.9824 MB / 0.9143 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.2192, allocations: 7.976 MB / 0.9221 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/0.2205, allocations: 1.242 MB / 0.9233 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001182/0.2217, allocations: 335 kB / 0.9236 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.2229, allocations: 0.7411 MB / 0.9244 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of SimCode: time 1.252e-06/0.2229, allocations: 0 / 0.9244 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of Templates: time 0.07155/0.2945, allocations: 55.63 MB / 0.9787 GB, free: 5.004 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.234536576084793]