Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001698/0.001698, allocations: 80.61 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.002029/0.002029, allocations: 159.5 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.446/1.446, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.86/2.86, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 1 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.495e-05, allocations: 2.281 kB / 1 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04358/0.04361, allocations: 33 MB / 1.032 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01866/0.06227, allocations: 9.874 MB / 1.042 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.06524, allocations: 194.6 kB / 1.042 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.01131/0.07655, allocations: 3.83 MB / 1.046 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006789/0.08334, allocations: 2.21 MB / 1.048 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005712/0.08905, allocations: 1.973 MB / 1.05 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01134/0.1004, allocations: 8.125 MB / 1.058 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.1104, allocations: 5.257 MB / 1.063 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009612/0.12, allocations: 4.892 MB / 1.068 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007292/0.1273, allocations: 3.452 MB / 1.071 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002493/0.1298, allocations: 0.6797 MB / 1.072 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004175/0.134, allocations: 1.381 MB / 1.073 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004265/0.1383, allocations: 2.802 MB / 1.076 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004531/0.1428, allocations: 2.171 MB / 1.078 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01507/0.1579, allocations: 10.58 MB / 1.088 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.148e-06/0.1579, allocations: 0 / 1.088 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1579, allocations: 0 / 1.088 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003521/0.1582, allocations: 0 / 1.088 GB, free: 11.38 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01289/0.1711, allocations: 5.412 MB / 1.094 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1712, allocations: 8.031 kB / 1.094 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005122/0.1763, allocations: 1.001 MB / 1.095 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00674/0.183, allocations: 3.135 MB / 1.098 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/0.1833, allocations: 353.9 kB / 1.098 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009945/0.1843, allocations: 472.3 kB / 1.099 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4814/0.6657, allocations: 8.661 MB / 1.107 GB, free: 97.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.6658, allocations: 24.55 kB / 1.107 GB, free: 97.64 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005064/0.6664, allocations: 210 kB / 1.107 GB, free: 97.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006004/0.667, allocations: 369.1 kB / 1.108 GB, free: 97.45 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.6782, allocations: 5.928 MB / 1.113 GB, free: 95.37 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02706/0.7052, allocations: 22.91 MB / 1.136 GB, free: 79.92 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.7084, allocations: 1.988 MB / 1.138 GB, free: 79.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.7102, allocations: 1.33 MB / 1.139 GB, free: 78.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.884e-05/0.7103, allocations: 20.25 kB / 1.139 GB, free: 78.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.7104, allocations: 60.67 kB / 1.139 GB, free: 78.64 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=157): time 3.767e-06/0.7104, allocations: 1.031 kB / 1.139 GB, free: 78.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=160): time 0.01377/0.7241, allocations: 6.64 MB / 1.146 GB, free: 75.97 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.7242, allocations: 68.44 kB / 1.146 GB, free: 75.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/0.7266, allocations: 1.71 MB / 1.147 GB, free: 75.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001712/0.7268, allocations: 53.73 kB / 1.147 GB, free: 75.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.7279, allocations: 2.187 MB / 1.149 GB, free: 73.74 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004223/0.7284, allocations: 0.5788 MB / 1.15 GB, free: 73.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006162/0.729, allocations: 401.5 kB / 1.15 GB, free: 73.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.81e-05/0.729, allocations: 302.9 kB / 1.151 GB, free: 72.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.7306, allocations: 1.062 MB / 1.152 GB, free: 72.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.7323, allocations: 1.765 MB / 1.153 GB, free: 71.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/0.7356, allocations: 3.05 MB / 1.156 GB, free: 69.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/0.7356, allocations: 14.28 kB / 1.156 GB, free: 69.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006005/0.7416, allocations: 3.882 MB / 1.16 GB, free: 67.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.7417, allocations: 22.41 kB / 1.16 GB, free: 67.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/0.7417, allocations: 22.44 kB / 1.16 GB, free: 67.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0024/0.7441, allocations: 0.9294 MB / 1.161 GB, free: 66.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.7457, allocations: 421.5 kB / 1.162 GB, free: 66.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/0.7607, allocations: 21.11 MB / 1.182 GB, free: 48.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.7627, allocations: 122.5 kB / 1.182 GB, free: 47.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.7628, allocations: 97.17 kB / 1.182 GB, free: 47.97 MB / 0.9981 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002117/0.7649, allocations: 1.651 MB / 1.184 GB, free: 46.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/0.7653, allocations: 246.5 kB / 1.184 GB, free: 46.12 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.7698, allocations: 3.233 MB / 1.187 GB, free: 42.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.7698, allocations: 16 kB / 1.187 GB, free: 42.83 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.7698, allocations: 12 kB / 1.187 GB, free: 42.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.7698, allocations: 7.969 kB / 1.187 GB, free: 42.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008978/0.7788, allocations: 6.442 MB / 1.194 GB, free: 36.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.7788, allocations: 4.562 kB / 1.194 GB, free: 36.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008991/0.7797, allocations: 219.6 kB / 1.194 GB, free: 36.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002094/0.7818, allocations: 0.8843 MB / 1.195 GB, free: 35.12 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.7819, allocations: 32 kB / 1.195 GB, free: 35.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/0.7962, allocations: 21.07 MB / 1.215 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.7962, allocations: 8 kB / 1.215 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004614/0.8009, allocations: 3.337 MB / 1.219 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009121/0.8018, allocations: 450.2 kB / 1.219 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.8021, allocations: 43.95 kB / 1.219 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.8031, allocations: 91.88 kB / 1.219 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003376/0.8034, allocations: 144.9 kB / 1.219 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.8035, allocations: 48 kB / 1.219 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001204/0.8047, allocations: 1.083 MB / 1.221 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8047, allocations: 4 kB / 1.221 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002788/0.8075, allocations: 0.9023 MB / 1.221 GB, free: 6.59 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002567/0.8078, allocations: 160.7 kB / 1.222 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005126/0.8129, allocations: 4.283 MB / 1.226 GB, free: 2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.8129, allocations: 0 / 1.226 GB, free: 2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003707/0.8166, allocations: 2.909 MB / 1.229 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/0.82, allocations: 0.7663 MB / 1.229 GB, free: 14.19 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.8337, allocations: 7.783 MB / 1.237 GB, free: 6.312 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003574/0.8372, allocations: 2.661 MB / 1.24 GB, free: 3.617 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001676/0.8389, allocations: 0.5083 MB / 1.24 GB, free: 3.105 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.8393, allocations: 136.5 kB / 1.24 GB, free: 2.973 MB / 1.014 GB Notification: Performance of SimCode: time 7.92e-07/0.8393, allocations: 0 / 1.24 GB, free: 2.973 MB / 1.014 GB Notification: Performance of Templates: time 0.07733/0.9166, allocations: 42.16 MB / 1.281 GB, free: 9.684 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 10.02002428472042]