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.001352/0.001352, 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.001012/0.001012, allocations: 185 kB / 24.09 MB, free: 416 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.9106/0.9106, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.841/1.841, allocations: 377.9 MB / 0.624 GB, free: 8.426 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_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 3.387e-06/3.387e-06, allocations: 3.984 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/3.031e-05, allocations: 6.75 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01514/0.01517, allocations: 19.82 MB / 0.8314 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.02789, allocations: 10.03 MB / 0.8412 GB, free: 3.535 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003249/0.03114, allocations: 210.4 kB / 0.8414 GB, free: 3.328 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.03356, allocations: 0.8646 MB / 0.8422 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00617/0.03973, allocations: 2.829 MB / 0.845 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.04332, allocations: 1.829 MB / 0.8468 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.008697/0.05202, allocations: 8.911 MB / 0.8555 GB, free: 4.836 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006516/0.05854, allocations: 5.383 MB / 0.8607 GB, free: 15.33 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00713/0.06567, allocations: 5.692 MB / 0.8663 GB, free: 9.625 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004664/0.07033, allocations: 3.94 MB / 0.8701 GB, free: 5.676 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001226/0.07156, allocations: 0.707 MB / 0.8708 GB, free: 4.969 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.07318, allocations: 0.8006 MB / 0.8716 GB, free: 4.168 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0021/0.07528, allocations: 3.04 MB / 0.8746 GB, free: 1.121 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00299/0.07827, allocations: 2.374 MB / 0.8769 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.005284/0.08356, allocations: 5.734 MB / 0.8825 GB, free: 8.992 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.08356, allocations: 0 / 0.8825 GB, free: 8.992 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.555e-06/0.08356, allocations: 4 kB / 0.8825 GB, free: 8.988 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001928/0.08376, allocations: 0 / 0.8825 GB, free: 8.988 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.006602/0.09036, allocations: 6.113 MB / 0.8885 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.0904, allocations: 12.03 kB / 0.8885 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003468/0.09387, allocations: 1.632 MB / 0.8901 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004287/0.09815, allocations: 3.087 MB / 0.8931 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.09835, allocations: 370.4 kB / 0.8934 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006219/0.09897, allocations: 0.5003 MB / 0.8939 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005577/0.1045, allocations: 4.959 MB / 0.8988 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.1046, allocations: 31.73 kB / 0.8988 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003225/0.105, allocations: 216 kB / 0.899 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004927/0.1055, allocations: 365.7 kB / 0.8994 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.1081, allocations: 1.491 MB / 0.9008 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01898/0.127, allocations: 21.52 MB / 0.9218 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008911/0.1279, allocations: 0.7886 MB / 0.9226 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007347/0.1287, allocations: 0.6969 MB / 0.9233 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.773e-05/0.1288, allocations: 33.98 kB / 0.9233 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.1288, allocations: 55.39 kB / 0.9234 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=171): time 4.609e-06/0.1288, allocations: 4 kB / 0.9234 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of matching and sorting (n=276): time 0.0134/0.1422, allocations: 7.772 MB / 0.931 GB, free: 6.055 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.1422, allocations: 81.58 kB / 0.931 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.1437, allocations: 1.82 MB / 0.9328 GB, free: 4.117 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.1438, allocations: 73.7 kB / 0.9329 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.1449, allocations: 2.427 MB / 0.9353 GB, free: 1.586 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000617/0.1455, allocations: 1.007 MB / 0.9362 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000572/0.146, allocations: 0.5285 MB / 0.9368 GB, free: 28 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1461, allocations: 484.8 kB / 0.9372 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.1467, allocations: 0.4937 MB / 0.9377 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.1478, allocations: 1.397 MB / 0.9391 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.1498, allocations: 2.134 MB / 0.9412 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.1498, allocations: 4 kB / 0.9412 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.005833/0.1556, allocations: 3.829 MB / 0.9449 GB, free: 6.922 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.1557, allocations: 12 kB / 0.9449 GB, free: 6.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.1557, allocations: 16 kB / 0.9449 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005856/0.1615, allocations: 2.517 MB / 0.9474 GB, free: 4.355 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/0.1624, allocations: 359.4 kB / 0.9477 GB, free: 4.004 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/0.1805, allocations: 19.52 MB / 0.9668 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.1821, allocations: 79.94 kB / 0.9669 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.1822, allocations: 87.98 kB / 0.9669 GB, free: 15.63 MB / 0.9323 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001065/0.1833, allocations: 324 kB / 0.9673 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004399/0.1837, allocations: 398.1 kB / 0.9676 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004827/0.1886, allocations: 3.532 MB / 0.9711 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.1886, allocations: 24 kB / 0.9711 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.113e-05/0.1886, allocations: 32 kB / 0.9711 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.1886, allocations: 15.94 kB / 0.9711 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008835/0.1974, allocations: 6.418 MB / 0.9774 GB, free: 4.625 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.1975, allocations: 4 kB / 0.9774 GB, free: 4.621 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/0.1981, allocations: 187.7 kB / 0.9776 GB, free: 4.438 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0051/0.2032, allocations: 2.324 MB / 0.9799 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.2033, allocations: 51.98 kB / 0.9799 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01645/0.2198, allocations: 19.37 MB / 0.9988 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.2198, allocations: 11.94 kB / 0.9988 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004961/0.2247, allocations: 3.591 MB / 1.002 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009612/0.2257, allocations: 0.5798 MB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.226, allocations: 64 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/0.2267, allocations: 52 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005693/0.2272, allocations: 265.4 kB / 1.003 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.2274, allocations: 59.94 kB / 1.003 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0008123/0.2282, allocations: 0.9858 MB / 1.004 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2282, allocations: 0 / 1.004 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003051/0.2312, allocations: 1.371 MB / 1.006 GB, free: 6.738 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.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.0002653/0.2315, allocations: 175 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005004/0.2365, allocations: 4.327 MB / 1.01 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.2365, allocations: 4 kB / 1.01 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003501/0.24, allocations: 3.401 MB / 1.013 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/0.2428, allocations: 1.013 MB / 1.014 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.2542, allocations: 8.827 MB / 1.023 GB, free: 4.613 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001728/0.2559, allocations: 1.423 MB / 1.024 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001126/0.257, allocations: 338.8 kB / 1.025 GB, free: 2.832 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/0.2584, allocations: 0.8648 MB / 1.026 GB, free: 1.965 MB / 0.9792 GB Notification: Performance of SimCode: time 1.983e-06/0.2584, allocations: 0 / 1.026 GB, free: 1.965 MB / 0.9792 GB Notification: Performance of Templates: time 0.4237/0.6821, allocations: 80.51 MB / 1.104 GB, free: 223.8 MB / 1.01 GB " [Timeout remaining time 299] 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 -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.684265364892781]