Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001481/0.001481, 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.001555/0.001555, allocations: 165.4 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 1.016/1.016, allocations: 177.1 MB / 204.2 MB, free: 5.191 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.897/1.897, allocations: 359 MB / 0.6052 GB, free: 11.04 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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.238e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.46 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01585/0.01588, allocations: 11.86 MB / 0.7987 GB, free: 0.5664 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.00875/0.02463, allocations: 3.616 MB / 0.8022 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.02614, allocations: 111.2 kB / 0.8023 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.02776, allocations: 0.4904 MB / 0.8028 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.02948, allocations: 1.107 MB / 0.8039 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.03112, allocations: 1.009 MB / 0.8049 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004371/0.03549, allocations: 4.873 MB / 0.8096 GB, free: 5.363 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003549/0.03904, allocations: 3.119 MB / 0.8127 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003461/0.0425, allocations: 2.996 MB / 0.8156 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.04539, allocations: 2.35 MB / 0.8179 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0007694/0.04616, allocations: 432 kB / 0.8183 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008301/0.04699, allocations: 0.4998 MB / 0.8188 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.0484, allocations: 1.812 MB / 0.8206 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.04958, allocations: 1.353 MB / 0.8219 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.05212, allocations: 3.366 MB / 0.8252 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.05213, allocations: 0 / 0.8252 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.154e-06/0.05213, allocations: 0 / 0.8252 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.472e-05/0.05217, allocations: 0 / 0.8252 GB, free: 5.359 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00381/0.05597, allocations: 3.603 MB / 0.8287 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.05602, allocations: 8.031 kB / 0.8287 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.05826, allocations: 1.029 MB / 0.8297 GB, free: 0.6719 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.06044, allocations: 1.951 MB / 0.8316 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.06061, allocations: 222.3 kB / 0.8318 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.06094, allocations: 300.4 kB / 0.8321 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003624/0.06456, allocations: 3.14 MB / 0.8352 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.398e-05/0.06462, allocations: 16.02 kB / 0.8352 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.06482, allocations: 131.9 kB / 0.8353 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003057/0.06513, allocations: 233.7 kB / 0.8356 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.0671, allocations: 1.134 MB / 0.8367 GB, free: 9.152 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.0776, allocations: 14.42 MB / 0.8507 GB, free: 10.33 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007641/0.07836, allocations: 0.5931 MB / 0.8513 GB, free: 9.727 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.07895, allocations: 430.4 kB / 0.8517 GB, free: 9.305 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 6.253e-05/0.07901, allocations: 20.98 kB / 0.8518 GB, free: 9.281 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.07904, allocations: 50.39 kB / 0.8518 GB, free: 9.223 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=107): time 3.126e-06/0.07905, allocations: 4 kB / 0.8518 GB, free: 9.219 MB / 0.8074 GB Notification: Performance of matching and sorting (n=138): time 0.007882/0.08693, allocations: 4.452 MB / 0.8562 GB, free: 4.766 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.08697, allocations: 64.72 kB / 0.8562 GB, free: 4.691 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008103/0.08778, allocations: 0.9851 MB / 0.8572 GB, free: 3.695 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.08784, allocations: 53.7 kB / 0.8572 GB, free: 3.637 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/0.08847, allocations: 1.4 MB / 0.8586 GB, free: 2.223 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.08878, allocations: 0.5036 MB / 0.8591 GB, free: 1.715 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.0891, allocations: 297.1 kB / 0.8594 GB, free: 1.418 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.08924, allocations: 484.8 kB / 0.8598 GB, free: 0.9414 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.0897, allocations: 299.8 kB / 0.8601 GB, free: 0.6484 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007694/0.09047, allocations: 0.8885 MB / 0.861 GB, free: 15.52 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.09199, allocations: 1.313 MB / 0.8623 GB, free: 13.98 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.09199, allocations: 4 kB / 0.8623 GB, free: 13.97 MB / 0.823 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002701/0.09469, allocations: 1.931 MB / 0.8642 GB, free: 12.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.09472, allocations: 20.19 kB / 0.8642 GB, free: 12 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.09474, allocations: 15.98 kB / 0.8642 GB, free: 11.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00197/0.09671, allocations: 0.8713 MB / 0.865 GB, free: 11.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/0.09723, allocations: 267.5 kB / 0.8653 GB, free: 10.85 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008036/0.1053, allocations: 9.092 MB / 0.8742 GB, free: 1.395 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/0.1058, allocations: 91.84 kB / 0.8743 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/0.1059, allocations: 64 kB / 0.8743 GB, free: 1.242 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000601/0.1065, allocations: 248.1 kB / 0.8746 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.1067, allocations: 203 kB / 0.8748 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.1094, allocations: 1.662 MB / 0.8764 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1094, allocations: 16 kB / 0.8764 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.1094, allocations: 8 kB / 0.8764 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.1094, allocations: 11.97 kB / 0.8764 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005135/0.1146, allocations: 3.974 MB / 0.8803 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.1146, allocations: 7.938 kB / 0.8803 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.1149, allocations: 147.8 kB / 0.8804 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001743/0.1166, allocations: 0.8116 MB / 0.8812 GB, free: 9.984 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.1167, allocations: 32 kB / 0.8813 GB, free: 9.953 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007825/0.1245, allocations: 9.034 MB / 0.8901 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.1245, allocations: 7.938 kB / 0.8901 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.1269, allocations: 1.875 MB / 0.8919 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/0.1273, allocations: 322.9 kB / 0.8922 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.1274, allocations: 31.98 kB / 0.8923 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.1278, allocations: 75.91 kB / 0.8923 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.128, allocations: 132.6 kB / 0.8925 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/0.128, allocations: 48 kB / 0.8925 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005016/0.1285, allocations: 0.5809 MB / 0.8931 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1285, allocations: 0 / 0.8931 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00156/0.1301, allocations: 0.6641 MB / 0.8937 GB, free: 12.71 MB / 0.8542 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002067/0.1303, allocations: 139 kB / 0.8939 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002413/0.1327, allocations: 2.104 MB / 0.8959 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1327, allocations: 4 kB / 0.8959 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.1344, allocations: 1.572 MB / 0.8974 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.1356, allocations: 478.3 kB / 0.8979 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005726/0.1413, allocations: 4.79 MB / 0.9026 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007159/0.142, allocations: 0.8116 MB / 0.9034 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005455/0.1426, allocations: 281.3 kB / 0.9036 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.1427, allocations: 84.5 kB / 0.9037 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of SimCode: time 8.31e-07/0.1427, allocations: 0 / 0.9037 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of Templates: time 0.03997/0.1827, allocations: 33.51 MB / 0.9364 GB, free: 1.348 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.004336528945714]