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.001675/0.001675, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001831/0.001831, allocations: 160 kB / 22.46 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.452/1.452, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.728/2.728, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 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.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",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.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.33e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0257/0.02573, allocations: 19.13 MB / 0.9697 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.03823, allocations: 6.39 MB / 0.9759 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.03997, allocations: 115.1 kB / 0.976 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006567/0.04654, allocations: 2.245 MB / 0.9782 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.05073, allocations: 1.285 MB / 0.9795 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.05433, allocations: 1.3 MB / 0.9807 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006734/0.06106, allocations: 4.95 MB / 0.9856 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005234/0.0663, allocations: 3.158 MB / 0.9887 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004712/0.07101, allocations: 3.005 MB / 0.9916 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003607/0.07461, allocations: 2.194 MB / 0.9937 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0007755/0.07539, allocations: 428 kB / 0.9941 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.07735, allocations: 0.9591 MB / 0.9951 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001919/0.07927, allocations: 1.785 MB / 0.9968 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.08113, allocations: 1.329 MB / 0.9981 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007078/0.0882, allocations: 6.646 MB / 1.005 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.08821, allocations: 0 / 1.005 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/0.08821, allocations: 11.94 kB / 1.005 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001101/0.08832, allocations: 0 / 1.005 GB, free: 4.426 MB / 0.9044 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.007042/0.09536, allocations: 3.427 MB / 1.008 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.0954, allocations: 8.031 kB / 1.008 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003464/0.09886, allocations: 0.6545 MB / 1.009 GB, free: 292 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004003/0.1029, allocations: 1.993 MB / 1.011 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.1031, allocations: 218.3 kB / 1.011 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005611/0.1037, allocations: 292.3 kB / 1.011 GB, free: 13.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009001/0.1127, allocations: 5.246 MB / 1.016 GB, free: 8.207 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.24e-05/0.1127, allocations: 16.06 kB / 1.016 GB, free: 8.191 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/0.1131, allocations: 123.9 kB / 1.016 GB, free: 8.07 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004804/0.1136, allocations: 233.7 kB / 1.017 GB, free: 7.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007073/0.1206, allocations: 3.75 MB / 1.02 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0215/0.1421, allocations: 13.08 MB / 1.033 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.144, allocations: 1.228 MB / 1.034 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.1456, allocations: 0.9836 MB / 1.035 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-05/0.1456, allocations: 9 kB / 1.035 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.074e-05/0.1457, allocations: 51.55 kB / 1.035 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=107): time 3.607e-06/0.1457, allocations: 3.938 kB / 1.035 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of matching and sorting (n=138): time 0.02653/0.1722, allocations: 8.424 MB / 1.043 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.1723, allocations: 64.72 kB / 1.043 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.1738, allocations: 1.067 MB / 1.045 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.174, allocations: 45.7 kB / 1.045 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.175, allocations: 1.342 MB / 1.046 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005657/0.1756, allocations: 499.7 kB / 1.046 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005285/0.1761, allocations: 303.3 kB / 1.047 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1763, allocations: 301.1 kB / 1.047 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.1777, allocations: 0.9096 MB / 1.048 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.1795, allocations: 1.326 MB / 1.049 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/0.183, allocations: 2.426 MB / 1.051 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.183, allocations: 4 kB / 1.051 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006781/0.1897, allocations: 3.422 MB / 1.055 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.1898, allocations: 16 kB / 1.055 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.1898, allocations: 12 kB / 1.055 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003574/0.1934, allocations: 1.19 MB / 1.056 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.1945, allocations: 255.6 kB / 1.056 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/0.2139, allocations: 13.24 MB / 1.069 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.2153, allocations: 91.97 kB / 1.069 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.2154, allocations: 64 kB / 1.069 GB, free: 0.6719 MB / 0.9669 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.0018/0.2172, allocations: 1.122 MB / 1.07 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.2175, allocations: 163 kB / 1.071 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006108/0.2236, allocations: 3.125 MB / 1.074 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.2236, allocations: 12 kB / 1.074 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/0.2237, allocations: 16 kB / 1.074 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.2237, allocations: 7.969 kB / 1.074 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009888/0.2336, allocations: 5.46 MB / 1.079 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.2336, allocations: 4.375 kB / 1.079 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/0.2342, allocations: 151.7 kB / 1.079 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00319/0.2374, allocations: 1.068 MB / 1.08 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.2375, allocations: 31.94 kB / 1.08 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/0.2565, allocations: 12.96 MB / 1.093 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.2565, allocations: 7.938 kB / 1.093 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005772/0.2622, allocations: 3.108 MB / 1.096 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009287/0.2632, allocations: 350.8 kB / 1.096 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.2634, allocations: 28.31 kB / 1.096 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008061/0.2642, allocations: 87.89 kB / 1.096 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003749/0.2646, allocations: 124.6 kB / 1.096 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.2647, allocations: 44 kB / 1.097 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001003/0.2657, allocations: 0.7059 MB / 1.097 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.2657, allocations: 0 / 1.097 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001983/0.2676, allocations: 0.6602 MB / 1.098 GB, free: 2.918 MB / 0.9981 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.0002532/0.2679, allocations: 131.1 kB / 1.098 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4438/0.7117, allocations: 3.005 MB / 1.101 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.7117, allocations: 1.406 kB / 1.101 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003549/0.7153, allocations: 1.875 MB / 1.103 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.7177, allocations: 484.8 kB / 1.103 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009707/0.7274, allocations: 5.507 MB / 1.109 GB, free: 144 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002789/0.7302, allocations: 1.769 MB / 1.11 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001215/0.7314, allocations: 336.4 kB / 1.111 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.7317, allocations: 83.89 kB / 1.111 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/0.7317, allocations: 3.375 kB / 1.111 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.06048/0.7921, allocations: 32.96 MB / 1.143 GB, free: 134.9 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.221719607710838]