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.001365/0.001365, 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.001018/0.001018, allocations: 161 kB / 23.82 MB, free: 0.75 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.9338/0.9338, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.848/1.848, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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 1.313e-06/1.313e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.793e-05, allocations: 5.766 kB / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.01394/0.01396, allocations: 18.33 MB / 0.8295 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.008521/0.02248, allocations: 5.564 MB / 0.8349 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.02371, allocations: 210.9 kB / 0.8351 GB, free: 9.57 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.02498, allocations: 0.8111 MB / 0.8359 GB, free: 8.754 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.02702, allocations: 1.784 MB / 0.8376 GB, free: 6.973 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.02894, allocations: 1.747 MB / 0.8393 GB, free: 5.227 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005354/0.0343, allocations: 8.466 MB / 0.8476 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005372/0.03967, allocations: 6.024 MB / 0.8535 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.04411, allocations: 5.361 MB / 0.8587 GB, free: 1.227 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/0.04777, allocations: 4.194 MB / 0.8628 GB, free: 13.02 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008468/0.04862, allocations: 0.7789 MB / 0.8636 GB, free: 12.25 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.0497, allocations: 0.8747 MB / 0.8644 GB, free: 11.37 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001937/0.05164, allocations: 3.329 MB / 0.8677 GB, free: 8.035 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.05335, allocations: 2.406 MB / 0.87 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003945/0.0573, allocations: 5.996 MB / 0.8759 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.0573, allocations: 0 / 0.8759 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.603e-06/0.0573, allocations: 4 kB / 0.8759 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.668e-05/0.05735, allocations: 4 kB / 0.8759 GB, free: 15.61 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.005492/0.06284, allocations: 5.991 MB / 0.8817 GB, free: 9.543 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.06289, allocations: 8.031 kB / 0.8817 GB, free: 9.535 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/0.06626, allocations: 1.772 MB / 0.8835 GB, free: 7.758 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003549/0.06981, allocations: 3.346 MB / 0.8867 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.07, allocations: 411.5 kB / 0.8871 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005305/0.07053, allocations: 0.5471 MB / 0.8877 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00602/0.07655, allocations: 5.468 MB / 0.893 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.891e-05/0.07664, allocations: 24.02 kB / 0.893 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003548/0.077, allocations: 244.3 kB / 0.8933 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002438/0.07724, allocations: 350.7 kB / 0.8936 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005514/0.08275, allocations: 2.038 MB / 0.8956 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0241/0.1069, allocations: 27.03 MB / 0.922 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.1085, allocations: 1.245 MB / 0.9232 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.1097, allocations: 0.8803 MB / 0.9241 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.702e-05/0.1098, allocations: 30 kB / 0.9241 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.1098, allocations: 55.39 kB / 0.9241 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=179): time 3.947e-06/0.1098, allocations: 3.938 kB / 0.9241 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=182): time 0.01289/0.1227, allocations: 6.292 MB / 0.9303 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.1227, allocations: 69.41 kB / 0.9304 GB, free: 6.406 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.1241, allocations: 1.366 MB / 0.9317 GB, free: 5.031 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-05/0.1242, allocations: 57.7 kB / 0.9317 GB, free: 4.969 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.1253, allocations: 2.366 MB / 0.9341 GB, free: 2.582 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000464/0.1257, allocations: 0.678 MB / 0.9347 GB, free: 1.898 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/0.1261, allocations: 414.1 kB / 0.9351 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1262, allocations: 476.8 kB / 0.9356 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/0.1269, allocations: 396.2 kB / 0.9359 GB, free: 0.625 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.1279, allocations: 1.399 MB / 0.9373 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.1298, allocations: 1.976 MB / 0.9392 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.1298, allocations: 8 kB / 0.9392 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003652/0.1334, allocations: 2.637 MB / 0.9418 GB, free: 9.719 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.1335, allocations: 15.94 kB / 0.9418 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.1335, allocations: 24 kB / 0.9419 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002419/0.1359, allocations: 1.222 MB / 0.9431 GB, free: 8.449 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007111/0.1366, allocations: 347.4 kB / 0.9434 GB, free: 8.109 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.1475, allocations: 12.67 MB / 0.9558 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.1487, allocations: 119.9 kB / 0.9559 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.1489, allocations: 95.98 kB / 0.956 GB, free: 10.75 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 (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.001096/0.1499, allocations: 295.9 kB / 0.9562 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.1503, allocations: 278.6 kB / 0.9565 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/0.1533, allocations: 2.138 MB / 0.9586 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.1533, allocations: 20 kB / 0.9586 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.379e-05/0.1533, allocations: 16 kB / 0.9586 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.1533, allocations: 7.969 kB / 0.9586 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.1641, allocations: 5.959 MB / 0.9645 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.1641, allocations: 7.938 kB / 0.9645 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/0.1648, allocations: 179.7 kB / 0.9646 GB, free: 1.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/0.1675, allocations: 1.007 MB / 0.9656 GB, free: 0.6406 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.1677, allocations: 32 kB / 0.9657 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/0.1802, allocations: 11.88 MB / 0.9773 GB, free: 4.242 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.1802, allocations: 11.92 kB / 0.9773 GB, free: 4.23 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003984/0.1842, allocations: 2.362 MB / 0.9796 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008396/0.1851, allocations: 434.4 kB / 0.98 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.1853, allocations: 39.94 kB / 0.98 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006528/0.1859, allocations: 83.89 kB / 0.9801 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003665/0.1863, allocations: 177.5 kB / 0.9803 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.827e-05/0.1864, allocations: 48.25 kB / 0.9803 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008744/0.1873, allocations: 0.7708 MB / 0.9811 GB, free: 228 kB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1873, allocations: 7.938 kB / 0.9811 GB, free: 220 kB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002626/0.1899, allocations: 0.9922 MB / 0.9821 GB, free: 15.22 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 (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.0002277/0.1901, allocations: 145.7 kB / 0.9822 GB, free: 15.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004288/0.1944, allocations: 2.977 MB / 0.9851 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1944, allocations: 1 kB / 0.9851 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002744/0.1971, allocations: 2.161 MB / 0.9872 GB, free: 9.781 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/0.1995, allocations: 0.7601 MB / 0.988 GB, free: 9.051 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.213, allocations: 7.813 MB / 0.9956 GB, free: 1.094 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/0.2149, allocations: 1.346 MB / 0.9969 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001155/0.2161, allocations: 387 kB / 0.9973 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.2163, allocations: 112.5 kB / 0.9974 GB, free: 15.22 MB / 0.9636 GB Notification: Performance of SimCode: time 2.244e-06/0.2163, allocations: 0 / 0.9974 GB, free: 15.22 MB / 0.9636 GB Notification: Performance of Templates: time 0.05668/0.273, allocations: 45.03 MB / 1.041 GB, free: 2.992 MB / 0.9948 GB " [Timeout remaining time 300] 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: 5.9278757106512785]