Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001016/0.001016, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001782/0.001782, allocations: 177 kB / 23.36 MB, free: 1.129 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.9959/0.9959, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.468/2.468, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.236e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02189/0.02191, allocations: 17.86 MB / 0.8561 GB, free: 12.19 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.03272, allocations: 5.72 MB / 0.8617 GB, free: 6.449 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.03402, allocations: 210.4 kB / 0.8619 GB, free: 6.242 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.03532, allocations: 0.8068 MB / 0.8627 GB, free: 5.43 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.0375, allocations: 1.79 MB / 0.8644 GB, free: 3.629 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.03983, allocations: 1.743 MB / 0.8661 GB, free: 1.883 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.005681/0.04551, allocations: 8.482 MB / 0.8744 GB, free: 9.379 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005883/0.05139, allocations: 6.365 MB / 0.8806 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005225/0.05662, allocations: 5.373 MB / 0.8859 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003748/0.06036, allocations: 4.119 MB / 0.8899 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006733/0.06104, allocations: 0.7852 MB / 0.8906 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009315/0.06197, allocations: 0.8631 MB / 0.8915 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.00204/0.06401, allocations: 3.317 MB / 0.8947 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001717/0.06573, allocations: 2.394 MB / 0.8971 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004066/0.06979, allocations: 5.972 MB / 0.9029 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.06979, allocations: 0 / 0.9029 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.06979, allocations: 0 / 0.9029 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.177e-05/0.06986, allocations: 0 / 0.9029 GB, free: 11.98 MB / 0.8698 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.005283/0.07514, allocations: 5.413 MB / 0.9082 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.07517, allocations: 12.62 kB / 0.9082 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/0.07814, allocations: 1.428 MB / 0.9096 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.08084, allocations: 2.685 MB / 0.9122 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.08104, allocations: 407.5 kB / 0.9126 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005321/0.08157, allocations: 0.5471 MB / 0.9131 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005077/0.08665, allocations: 4.956 MB / 0.918 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.08675, allocations: 31.89 kB / 0.918 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003689/0.08712, allocations: 240.3 kB / 0.9182 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002389/0.08736, allocations: 350.7 kB / 0.9186 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.08941, allocations: 1.428 MB / 0.92 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.1044, allocations: 19.5 MB / 0.939 GB, free: 5.871 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.1055, allocations: 1.117 MB / 0.9401 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007143/0.1062, allocations: 0.6941 MB / 0.9408 GB, free: 4.043 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.767e-05/0.1063, allocations: 37.98 kB / 0.9408 GB, free: 4.008 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1063, allocations: 48.56 kB / 0.9409 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=179): time 2.995e-06/0.1063, allocations: 0 / 0.9409 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of matching and sorting (n=182): time 0.00968/0.116, allocations: 4.949 MB / 0.9457 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.116, allocations: 73.41 kB / 0.9458 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008242/0.1169, allocations: 1.254 MB / 0.947 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.7e-05/0.117, allocations: 53.7 kB / 0.947 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008857/0.1178, allocations: 2.11 MB / 0.9491 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.1189, allocations: 0.6505 MB / 0.9497 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/0.1193, allocations: 384 kB / 0.9501 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.1194, allocations: 301.1 kB / 0.9504 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.1197, allocations: 240.4 kB / 0.9506 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006953/0.1204, allocations: 0.9518 MB / 0.9515 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.1216, allocations: 1.449 MB / 0.953 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.1216, allocations: 8 kB / 0.953 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002471/0.124, allocations: 1.998 MB / 0.9549 GB, free: 4.816 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.1241, allocations: 16 kB / 0.9549 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.1241, allocations: 20 kB / 0.955 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/0.1264, allocations: 1.085 MB / 0.956 GB, free: 3.691 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006502/0.1271, allocations: 347.4 kB / 0.9563 GB, free: 3.352 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00854/0.1356, allocations: 9.594 MB / 0.9657 GB, free: 9.375 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/0.1362, allocations: 60 kB / 0.9658 GB, free: 9.316 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.706e-05/0.1363, allocations: 87.98 kB / 0.9659 GB, free: 9.23 MB / 0.9323 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.0008294/0.1371, allocations: 244 kB / 0.9661 GB, free: 8.98 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.1373, allocations: 195.8 kB / 0.9663 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.1395, allocations: 1.691 MB / 0.9679 GB, free: 7.062 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.1395, allocations: 20 kB / 0.9679 GB, free: 7.043 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.1395, allocations: 19.94 kB / 0.968 GB, free: 7.023 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1395, allocations: 7.969 kB / 0.968 GB, free: 7.016 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/0.1451, allocations: 4.175 MB / 0.972 GB, free: 2.738 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.1451, allocations: 4 kB / 0.9721 GB, free: 2.734 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.1455, allocations: 167.8 kB / 0.9722 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/0.1472, allocations: 0.9576 MB / 0.9731 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.1473, allocations: 40 kB / 0.9732 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007597/0.1549, allocations: 8.917 MB / 0.9819 GB, free: 8.258 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.1549, allocations: 8 kB / 0.9819 GB, free: 8.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.157, allocations: 1.827 MB / 0.9837 GB, free: 6.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/0.1577, allocations: 334.5 kB / 0.984 GB, free: 5.992 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.1578, allocations: 39.94 kB / 0.984 GB, free: 5.953 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.1582, allocations: 36 kB / 0.9841 GB, free: 5.918 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.1584, allocations: 173.5 kB / 0.9842 GB, free: 5.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.1585, allocations: 32 kB / 0.9843 GB, free: 5.719 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004264/0.1589, allocations: 0.6125 MB / 0.9849 GB, free: 5.113 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1589, allocations: 0 / 0.9849 GB, free: 5.113 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001911/0.1608, allocations: 0.9922 MB / 0.9858 GB, free: 4.121 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.0001786/0.161, allocations: 120.2 kB / 0.986 GB, free: 3.996 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.1635, allocations: 2.447 MB / 0.9883 GB, free: 1.496 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.864e-05/0.1636, allocations: 25.81 kB / 0.9884 GB, free: 1.469 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.1652, allocations: 1.778 MB / 0.9901 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.1668, allocations: 0.7626 MB / 0.9908 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008913/0.1757, allocations: 8.129 MB / 0.9988 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.1769, allocations: 1.346 MB / 1 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0005458/0.1774, allocations: 255.4 kB / 1 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008265/0.1783, allocations: 0.499 MB / 1.001 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of SimCode: time 1.533e-06/0.1783, allocations: 0 / 1.001 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of Templates: time 0.05577/0.234, allocations: 47.58 MB / 1.047 GB, free: 5.766 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.568598591722548]