Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.00137/0.00137, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001664/0.001664, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9341/0.9341, 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 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.799/1.799, allocations: 377.9 MB / 0.6236 GB, free: 8.527 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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.075e-06/3.075e-06, allocations: 4 kB / 0.8116 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.698e-05, allocations: 3.312 kB / 0.8116 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0163/0.01633, allocations: 18.33 MB / 0.8295 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.009124/0.02545, allocations: 5.559 MB / 0.8349 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.02783, allocations: 206.5 kB / 0.8351 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.02996, allocations: 0.8192 MB / 0.8359 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003321/0.03328, allocations: 1.794 MB / 0.8376 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.03629, allocations: 1.745 MB / 0.8393 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008441/0.04474, allocations: 8.471 MB / 0.8476 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009282/0.05402, allocations: 6.026 MB / 0.8535 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007674/0.06169, allocations: 5.364 MB / 0.8587 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004837/0.06653, allocations: 4.262 MB / 0.8629 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001551/0.06808, allocations: 0.7862 MB / 0.8637 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.07023, allocations: 0.8592 MB / 0.8645 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002859/0.07309, allocations: 3.317 MB / 0.8678 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003723/0.07681, allocations: 2.39 MB / 0.8701 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.006566/0.08338, allocations: 5.972 MB / 0.8759 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.08339, allocations: 4.656 kB / 0.8759 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.553e-06/0.08339, allocations: 0 / 0.8759 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003768/0.08377, allocations: 3.438 kB / 0.8759 GB, free: 14.41 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.008919/0.09268, allocations: 5.994 MB / 0.8818 GB, free: 8.344 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.09273, allocations: 11.97 kB / 0.8818 GB, free: 8.332 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004568/0.0973, allocations: 1.678 MB / 0.8834 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004986/0.1023, allocations: 3.293 MB / 0.8866 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/0.1026, allocations: 411.5 kB / 0.887 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007638/0.1033, allocations: 0.5471 MB / 0.8876 GB, free: 2.336 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02175/0.1251, allocations: 5.464 MB / 0.8929 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001468/0.1252, allocations: 32.02 kB / 0.8929 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004823/0.1257, allocations: 232.3 kB / 0.8932 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003417/0.126, allocations: 354.6 kB / 0.8935 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.141, allocations: 2.042 MB / 0.8955 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04272/0.1838, allocations: 27.03 MB / 0.9219 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.1854, allocations: 1.257 MB / 0.9231 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.1865, allocations: 0.8842 MB / 0.924 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.433e-05/0.1865, allocations: 30 kB / 0.924 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1866, allocations: 51.39 kB / 0.9241 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=179): time 3.737e-06/0.1866, allocations: 0 / 0.9241 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=182): time 0.01241/0.199, allocations: 6.294 MB / 0.9302 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.199, allocations: 73.41 kB / 0.9303 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.2003, allocations: 1.366 MB / 0.9316 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.059e-05/0.2004, allocations: 61.7 kB / 0.9317 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.2015, allocations: 2.366 MB / 0.934 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/0.2019, allocations: 0.6857 MB / 0.9346 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/0.2023, allocations: 414.1 kB / 0.935 GB, free: 408 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2024, allocations: 480.8 kB / 0.9355 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005694/0.2029, allocations: 388.2 kB / 0.9359 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009814/0.2039, allocations: 1.395 MB / 0.9372 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.2057, allocations: 1.976 MB / 0.9392 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/0.2057, allocations: 7.938 kB / 0.9392 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00348/0.2092, allocations: 2.637 MB / 0.9417 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.2092, allocations: 15.94 kB / 0.9418 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.2092, allocations: 24 kB / 0.9418 GB, free: 8.605 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.2115, allocations: 1.211 MB / 0.943 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/0.2122, allocations: 355.3 kB / 0.9433 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.2225, allocations: 12.67 MB / 0.9557 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009473/0.2234, allocations: 119.9 kB / 0.9558 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.2236, allocations: 96 kB / 0.9559 GB, free: 9.684 MB / 0.8698 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001036/0.2246, allocations: 295.8 kB / 0.9562 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.2251, allocations: 278.6 kB / 0.9564 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/0.229, allocations: 2.126 MB / 0.9585 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.2291, allocations: 20 kB / 0.9585 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.708e-05/0.2291, allocations: 20 kB / 0.9585 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.2291, allocations: 11.95 kB / 0.9586 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.2429, allocations: 5.955 MB / 0.9644 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.2429, allocations: 7.938 kB / 0.9644 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.2434, allocations: 183.7 kB / 0.9646 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002011/0.2454, allocations: 1.007 MB / 0.9655 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.586e-05/0.2455, allocations: 36 kB / 0.9656 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009336/0.2548, allocations: 11.89 MB / 0.9772 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2548, allocations: 4 kB / 0.9772 GB, free: 3.16 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.2579, allocations: 2.366 MB / 0.9795 GB, free: 0.6797 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/0.2585, allocations: 426.5 kB / 0.9799 GB, free: 268 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.2587, allocations: 44.19 kB / 0.9799 GB, free: 224 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.2591, allocations: 87.89 kB / 0.98 GB, free: 136 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/0.2595, allocations: 173.8 kB / 0.9802 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.631e-05/0.2595, allocations: 48 kB / 0.9802 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006703/0.2602, allocations: 0.7747 MB / 0.981 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2602, allocations: 0 / 0.981 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002083/0.2623, allocations: 1 MB / 0.982 GB, free: 14.14 MB / 0.9011 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002116/0.2625, allocations: 147 kB / 0.9821 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003298/0.2658, allocations: 2.981 MB / 0.985 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2658, allocations: 1 kB / 0.985 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002094/0.2679, allocations: 2.157 MB / 0.9871 GB, free: 8.699 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.2697, allocations: 0.7668 MB / 0.9879 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.2798, allocations: 7.813 MB / 0.9955 GB, free: 12 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.2811, allocations: 1.353 MB / 0.9968 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009303/0.282, allocations: 387.2 kB / 0.9972 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.2822, allocations: 112.5 kB / 0.9973 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of SimCode: time 1.963e-06/0.2822, allocations: 0 / 0.9973 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of Templates: time 0.378/0.6603, allocations: 46.86 MB / 1.043 GB, free: 181.1 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.111706321127713]