Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0009788/0.0009788, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009694/0.0009694, allocations: 173 kB / 23.5 MB, free: 1.055 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.9187/0.9187, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.043/2.043, allocations: 429.5 MB / 0.6736 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.291e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008063/0.008076, allocations: 10.14 MB / 0.8881 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003618/0.01169, allocations: 3.237 MB / 0.8913 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003076/0.012, allocations: 43.69 kB / 0.8913 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008446/0.01285, allocations: 0.6192 MB / 0.8919 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008254/0.01367, allocations: 0.7916 MB / 0.8927 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008139/0.01449, allocations: 0.7484 MB / 0.8934 GB, free: 7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.01633, allocations: 3.058 MB / 0.8964 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.01754, allocations: 1.42 MB / 0.8978 GB, free: 2.469 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.01888, allocations: 1.735 MB / 0.8995 GB, free: 0.7305 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.02026, allocations: 1.613 MB / 0.9011 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.02049, allocations: 236 kB / 0.9013 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.02104, allocations: 0.4913 MB / 0.9018 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006731/0.02172, allocations: 1.165 MB / 0.9029 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000609/0.02232, allocations: 0.7875 MB / 0.9037 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.02392, allocations: 2.232 MB / 0.9059 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.02393, allocations: 0 / 0.9059 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.82e-07/0.02393, allocations: 3.938 kB / 0.9059 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.692e-05/0.02395, allocations: 0 / 0.9059 GB, free: 10.19 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002385/0.02634, allocations: 2.302 MB / 0.9081 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.02637, allocations: 12.03 kB / 0.9081 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005017/0.03139, allocations: 1.658 MB / 0.9097 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.03262, allocations: 1.182 MB / 0.9109 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/0.03268, allocations: 111.4 kB / 0.911 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.03288, allocations: 156.3 kB / 0.9111 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.03509, allocations: 1.823 MB / 0.9129 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.03512, allocations: 8.109 kB / 0.9129 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.03526, allocations: 68.33 kB / 0.913 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.03543, allocations: 207.1 kB / 0.9132 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.03705, allocations: 0.8503 MB / 0.914 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00749/0.04454, allocations: 8.975 MB / 0.9228 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009464/0.04548, allocations: 0.6407 MB / 0.9234 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006925/0.04617, allocations: 462.2 kB / 0.9239 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.547e-05/0.04624, allocations: 17 kB / 0.9239 GB, free: 7.285 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.04627, allocations: 42.39 kB / 0.9239 GB, free: 7.234 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 1.884e-06/0.04627, allocations: 4 kB / 0.9239 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183): time 0.01819/0.06446, allocations: 9.428 MB / 0.9331 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.06449, allocations: 69.41 kB / 0.9332 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007247/0.06522, allocations: 0.9013 MB / 0.9341 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.06533, allocations: 53.7 kB / 0.9341 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.0657, allocations: 0.8627 MB / 0.935 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004053/0.0661, allocations: 0.678 MB / 0.9356 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004591/0.06656, allocations: 353.1 kB / 0.936 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.06666, allocations: 476.8 kB / 0.9364 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000845/0.0675, allocations: 475.7 kB / 0.9369 GB, free: 9.879 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.06858, allocations: 0.9693 MB / 0.9378 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.07054, allocations: 1.547 MB / 0.9393 GB, free: 7.027 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.07054, allocations: 4 kB / 0.9393 GB, free: 7.023 MB / 0.9011 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008948/0.07949, allocations: 4.752 MB / 0.944 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.07951, allocations: 8 kB / 0.944 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.07952, allocations: 8 kB / 0.944 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008778/0.0883, allocations: 3.598 MB / 0.9475 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.0887, allocations: 187.7 kB / 0.9477 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/0.1106, allocations: 19.38 MB / 0.9666 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007897/0.1114, allocations: 111.9 kB / 0.9667 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.1115, allocations: 68 kB / 0.9668 GB, free: 10.38 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004832/0.112, allocations: 244.3 kB / 0.967 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.1123, allocations: 203.1 kB / 0.9672 GB, free: 9.934 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008811/0.1211, allocations: 4.732 MB / 0.9718 GB, free: 5.16 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.1211, allocations: 20 kB / 0.9718 GB, free: 5.141 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.697e-05/0.1211, allocations: 28 kB / 0.9719 GB, free: 5.113 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.1211, allocations: 7.969 kB / 0.9719 GB, free: 5.105 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.1328, allocations: 7.182 MB / 0.9789 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.1328, allocations: 4 kB / 0.9789 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.133, allocations: 120.3 kB / 0.979 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008664/0.1417, allocations: 3.501 MB / 0.9824 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.1418, allocations: 32 kB / 0.9825 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/0.1627, allocations: 17.83 MB / 0.9999 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.1627, allocations: 7.938 kB / 0.9999 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008857/0.1715, allocations: 4.695 MB / 1.004 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/0.1722, allocations: 0.4989 MB / 1.005 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.1724, allocations: 35.92 kB / 1.005 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005982/0.173, allocations: 91.89 kB / 1.005 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004586/0.1734, allocations: 181.4 kB / 1.005 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.594e-05/0.1735, allocations: 44 kB / 1.005 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004754/0.174, allocations: 0.5422 MB / 1.006 GB, free: 1.574 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.174, allocations: 4 kB / 1.006 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002046/0.176, allocations: 1.004 MB / 1.007 GB, free: 0.5664 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002369/0.1763, allocations: 147 kB / 1.007 GB, free: 424 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00435/0.1806, allocations: 3.256 MB / 1.01 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1806, allocations: 0 / 1.01 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00349/0.1841, allocations: 2.74 MB / 1.013 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000822/0.1849, allocations: 240.1 kB / 1.013 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.1899, allocations: 4.054 MB / 1.017 GB, free: 5.898 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.1905, allocations: 0.635 MB / 1.018 GB, free: 5.234 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004329/0.1909, allocations: 287.2 kB / 1.018 GB, free: 4.949 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.1911, allocations: 60.5 kB / 1.018 GB, free: 4.891 MB / 0.9792 GB Notification: Performance of SimCode: time 1.083e-06/0.1911, allocations: 0 / 1.018 GB, free: 4.891 MB / 0.9792 GB Notification: Performance of Templates: time 0.5245/0.7156, allocations: 65.63 MB / 1.082 GB, free: 194.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.5949637070298195]