Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0009382/0.0009382, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009722/0.0009722, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 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.9885/0.9885, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.944/1.944, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 0 / 0.7871 GB, free: 11.32 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.258e-05, allocations: 2.969 kB / 0.7871 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02216/0.02219, allocations: 20.05 MB / 0.8067 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.03378, allocations: 5.607 MB / 0.8122 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.03675, allocations: 186.6 kB / 0.8123 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.03891, allocations: 0.8376 MB / 0.8132 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004282/0.04319, allocations: 1.855 MB / 0.815 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.04688, allocations: 1.642 MB / 0.8166 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009293/0.05618, allocations: 8.012 MB / 0.8244 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007207/0.06338, allocations: 5.211 MB / 0.8295 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005416/0.0688, allocations: 4.873 MB / 0.8342 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003882/0.07268, allocations: 3.749 MB / 0.8379 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.07373, allocations: 0.6758 MB / 0.8386 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.0749, allocations: 0.7654 MB / 0.8393 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.07661, allocations: 2.826 MB / 0.8421 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002256/0.07887, allocations: 2.183 MB / 0.8442 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004051/0.08292, allocations: 5.321 MB / 0.8494 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.08292, allocations: 0 / 0.8494 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.533e-06/0.08293, allocations: 0 / 0.8494 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001744/0.0831, allocations: 0 / 0.8494 GB, free: 11.29 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.005916/0.08902, allocations: 5.639 MB / 0.8549 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.08906, allocations: 8.031 kB / 0.8549 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/0.09169, allocations: 1.426 MB / 0.8563 GB, free: 4.145 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/0.09487, allocations: 3.054 MB / 0.8593 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.09505, allocations: 357.9 kB / 0.8596 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004512/0.0955, allocations: 480.3 kB / 0.8601 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005539/0.101, allocations: 5.39 MB / 0.8654 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.064e-05/0.1011, allocations: 20.02 kB / 0.8654 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/0.1014, allocations: 208.3 kB / 0.8656 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003368/0.1018, allocations: 373 kB / 0.8659 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003362/0.1051, allocations: 1.845 MB / 0.8677 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01651/0.1216, allocations: 26.25 MB / 0.8934 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.123, allocations: 0.9025 MB / 0.8942 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000697/0.1237, allocations: 0.611 MB / 0.8948 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.837e-05/0.1237, allocations: 25.31 kB / 0.8949 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.1238, allocations: 58.7 kB / 0.8949 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=157): time 3.546e-06/0.1238, allocations: 0 / 0.8949 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=160): time 0.006268/0.13, allocations: 3.889 MB / 0.8987 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1301, allocations: 68.72 kB / 0.8988 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.1313, allocations: 1.585 MB / 0.9003 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.656e-05/0.1314, allocations: 53.7 kB / 0.9004 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009432/0.1323, allocations: 2.238 MB / 0.9026 GB, free: 3.055 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.1327, allocations: 0.5965 MB / 0.9032 GB, free: 2.453 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/0.133, allocations: 409.9 kB / 0.9035 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.1331, allocations: 476.8 kB / 0.904 GB, free: 1.574 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/0.1337, allocations: 384.2 kB / 0.9044 GB, free: 1.195 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009983/0.1347, allocations: 1.36 MB / 0.9057 GB, free: 15.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.1363, allocations: 1.926 MB / 0.9076 GB, free: 13.05 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.1363, allocations: 11.94 kB / 0.9076 GB, free: 13.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002783/0.1391, allocations: 2.374 MB / 0.9099 GB, free: 10.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.1391, allocations: 17.41 kB / 0.9099 GB, free: 10.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.1392, allocations: 23.94 kB / 0.9099 GB, free: 10.56 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.1407, allocations: 0.7299 MB / 0.9107 GB, free: 9.781 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009535/0.1416, allocations: 427.3 kB / 0.9111 GB, free: 9.363 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.1523, allocations: 23.09 MB / 0.9336 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008511/0.1531, allocations: 119.9 kB / 0.9337 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.1532, allocations: 96 kB / 0.9338 GB, free: 0.5859 MB / 0.8386 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008332/0.154, allocations: 300.8 kB / 0.9341 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.1543, allocations: 298.5 kB / 0.9344 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.1564, allocations: 1.716 MB / 0.9361 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.1564, allocations: 16 kB / 0.9361 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.1565, allocations: 12 kB / 0.9361 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1565, allocations: 7.969 kB / 0.9361 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005916/0.1624, allocations: 5.02 MB / 0.941 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.1624, allocations: 4 kB / 0.941 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.1629, allocations: 215.6 kB / 0.9412 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.1643, allocations: 0.7112 MB / 0.9419 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.478e-05/0.1644, allocations: 28 kB / 0.9419 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.1752, allocations: 23.04 MB / 0.9644 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.1752, allocations: 8 kB / 0.9645 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.1776, allocations: 2.01 MB / 0.9664 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006322/0.1782, allocations: 426.3 kB / 0.9668 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.1784, allocations: 35.94 kB / 0.9669 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/0.1789, allocations: 95.88 kB / 0.9669 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.1791, allocations: 140.9 kB / 0.9671 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.1792, allocations: 51.98 kB / 0.9671 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007777/0.18, allocations: 0.8911 MB / 0.968 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.18, allocations: 0 / 0.968 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001892/0.1819, allocations: 0.914 MB / 0.9689 GB, free: 10.73 MB / 0.8855 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001921/0.1821, allocations: 160.6 kB / 0.969 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003243/0.1853, allocations: 3.724 MB / 0.9727 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1853, allocations: 4 kB / 0.9727 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.1873, allocations: 3.004 MB / 0.9756 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.1889, allocations: 0.7739 MB / 0.9764 GB, free: 2.645 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008107/0.197, allocations: 6.992 MB / 0.9832 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009486/0.198, allocations: 1.169 MB / 0.9843 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008371/0.1988, allocations: 444.5 kB / 0.9848 GB, free: 9.875 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.1991, allocations: 132.5 kB / 0.9849 GB, free: 9.746 MB / 0.9011 GB Notification: Performance of SimCode: time 1.713e-06/0.1991, allocations: 0 / 0.9849 GB, free: 9.746 MB / 0.9011 GB Notification: Performance of Templates: time 0.3564/0.5555, allocations: 44.67 MB / 1.029 GB, free: 214.5 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.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.5347465998493135]