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.001918/0.001918, allocations: 80.3 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002082/0.002082, allocations: 161 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.811/2.811, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",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.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.885e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.05849/0.05852, allocations: 33.02 MB / 1.014 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02063/0.07915, allocations: 11.36 MB / 1.025 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/0.08234, allocations: 210.4 kB / 1.025 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.09468, allocations: 4.279 MB / 1.029 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007727/0.1024, allocations: 2.148 MB / 1.031 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007408/0.1098, allocations: 2.438 MB / 1.034 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01181/0.1216, allocations: 8.607 MB / 1.042 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01031/0.1319, allocations: 6.19 MB / 1.048 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009105/0.141, allocations: 5.395 MB / 1.053 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0071/0.1481, allocations: 3.905 MB / 1.057 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00182/0.15, allocations: 0.7773 MB / 1.058 GB, free: 13.28 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004838/0.1548, allocations: 1.93 MB / 1.06 GB, free: 11.34 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004807/0.1596, allocations: 3.27 MB / 1.063 GB, free: 8.066 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004624/0.1642, allocations: 2.382 MB / 1.065 GB, free: 5.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01817/0.1824, allocations: 12.24 MB / 1.077 GB, free: 9.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1824, allocations: 0 / 1.077 GB, free: 9.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1824, allocations: 0 / 1.077 GB, free: 9.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003576/0.1828, allocations: 0 / 1.077 GB, free: 9.41 MB / 1.029 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.01413/0.1969, allocations: 5.805 MB / 1.083 GB, free: 3.543 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1969, allocations: 12.02 kB / 1.083 GB, free: 3.531 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00642/0.2033, allocations: 1.098 MB / 1.084 GB, free: 2.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007695/0.211, allocations: 3.418 MB / 1.087 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.2114, allocations: 419.4 kB / 1.088 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.2129, allocations: 0.5393 MB / 1.088 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01881/0.2317, allocations: 9.377 MB / 1.097 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001587/0.2318, allocations: 32 kB / 1.097 GB, free: 4.199 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007019/0.2325, allocations: 232.3 kB / 1.098 GB, free: 3.973 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004172/0.233, allocations: 350.7 kB / 1.098 GB, free: 3.629 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/0.2481, allocations: 6.826 MB / 1.105 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04071/0.2888, allocations: 24.22 MB / 1.128 GB, free: 3.961 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003868/0.2927, allocations: 2.295 MB / 1.131 GB, free: 1.676 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4784/0.7711, allocations: 1.771 MB / 1.132 GB, free: 177.1 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.7713, allocations: 20.38 kB / 1.132 GB, free: 177.1 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.7713, allocations: 61.31 kB / 1.132 GB, free: 177 MB / 1.076 GB Notification: Performance of pre-optimization done (n=179): time 4.298e-06/0.7713, allocations: 0 / 1.132 GB, free: 177 MB / 1.076 GB Notification: Performance of matching and sorting (n=182): time 0.02459/0.7959, allocations: 9.668 MB / 1.142 GB, free: 174.8 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.796, allocations: 71.78 kB / 1.142 GB, free: 174.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.7977, allocations: 1.444 MB / 1.143 GB, free: 174.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.7979, allocations: 59.55 kB / 1.143 GB, free: 174.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.7989, allocations: 2.31 MB / 1.146 GB, free: 172.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/0.7993, allocations: 0.6563 MB / 1.146 GB, free: 172.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005042/0.7998, allocations: 402.9 kB / 1.147 GB, free: 172.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.7998, allocations: 307.4 kB / 1.147 GB, free: 171.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.8011, allocations: 1.176 MB / 1.148 GB, free: 171.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.8027, allocations: 1.887 MB / 1.15 GB, free: 170.1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/0.8058, allocations: 3.366 MB / 1.153 GB, free: 168 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.8058, allocations: 9.531 kB / 1.153 GB, free: 168 MB / 1.076 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006549/0.8124, allocations: 4.52 MB / 1.158 GB, free: 166.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.8124, allocations: 17.12 kB / 1.158 GB, free: 166.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.8124, allocations: 27.56 kB / 1.158 GB, free: 166.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00352/0.816, allocations: 1.583 MB / 1.159 GB, free: 165.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.8171, allocations: 345.3 kB / 1.16 GB, free: 165.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/0.8385, allocations: 17.82 MB / 1.177 GB, free: 155.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/0.841, allocations: 118.2 kB / 1.177 GB, free: 155.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.8413, allocations: 92.41 kB / 1.177 GB, free: 155.2 MB / 1.076 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.003378/0.8446, allocations: 1.896 MB / 1.179 GB, free: 154.4 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004484/0.8451, allocations: 226.6 kB / 1.179 GB, free: 154.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007176/0.8523, allocations: 4.039 MB / 1.183 GB, free: 152.6 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.8523, allocations: 18.34 kB / 1.183 GB, free: 152.6 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/0.8523, allocations: 16.56 kB / 1.183 GB, free: 152.6 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.8523, allocations: 9.812 kB / 1.183 GB, free: 152.6 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.8658, allocations: 7.837 MB / 1.191 GB, free: 149.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.8658, allocations: 4.469 kB / 1.191 GB, free: 149.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008762/0.8667, allocations: 180.5 kB / 1.191 GB, free: 149.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00371/0.8704, allocations: 1.359 MB / 1.192 GB, free: 149.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.8706, allocations: 39.73 kB / 1.192 GB, free: 149.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/0.8911, allocations: 16.6 MB / 1.209 GB, free: 139.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.8911, allocations: 9.094 kB / 1.209 GB, free: 139.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007294/0.8984, allocations: 4.017 MB / 1.213 GB, free: 137.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.8997, allocations: 454.9 kB / 1.213 GB, free: 137.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.8999, allocations: 41.27 kB / 1.213 GB, free: 137.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009769/0.9009, allocations: 92.25 kB / 1.213 GB, free: 137.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006076/0.9015, allocations: 168.4 kB / 1.213 GB, free: 137.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.9016, allocations: 47.17 kB / 1.213 GB, free: 137.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001325/0.903, allocations: 0.92 MB / 1.214 GB, free: 136.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/0.903, allocations: 0 / 1.214 GB, free: 136.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003645/0.9066, allocations: 0.9872 MB / 1.215 GB, free: 136.7 MB / 1.076 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.0003031/0.9069, allocations: 151.8 kB / 1.215 GB, free: 136.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006901/0.9138, allocations: 4.168 MB / 1.219 GB, free: 134.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.94e-05/0.9138, allocations: 0 / 1.219 GB, free: 134.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.004474/0.9183, allocations: 2.568 MB / 1.222 GB, free: 133.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/0.9221, allocations: 0.7628 MB / 1.223 GB, free: 133.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.9359, allocations: 8.866 MB / 1.231 GB, free: 126.9 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003164/0.939, allocations: 3.04 MB / 1.234 GB, free: 124.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001284/0.9403, allocations: 445.5 kB / 1.235 GB, free: 124.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.9406, allocations: 116.2 kB / 1.235 GB, free: 124.2 MB / 1.076 GB Notification: Performance of SimCode: time 1.243e-06/0.9406, allocations: 0 / 1.235 GB, free: 124.2 MB / 1.076 GB Notification: Performance of Templates: time 0.06065/1.001, allocations: 44.51 MB / 1.278 GB, free: 81.37 MB / 1.076 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.87608527764678]