Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001813/0.001813, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002415/0.002415, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.528/1.528, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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 3.224/3.224, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] 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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.998e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.04007/0.0401, allocations: 19.13 MB / 0.8963 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.05805, allocations: 6.402 MB / 0.9025 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.05983, allocations: 115.1 kB / 0.9027 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.006158/0.06599, allocations: 2.259 MB / 0.9049 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.06915, allocations: 1.274 MB / 0.9061 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.07238, allocations: 1.298 MB / 0.9074 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.006668/0.07905, allocations: 4.935 MB / 0.9122 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006174/0.08522, allocations: 3.162 MB / 0.9153 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005928/0.09115, allocations: 2.998 MB / 0.9182 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004336/0.09549, allocations: 2.178 MB / 0.9203 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001195/0.09668, allocations: 440 kB / 0.9208 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.09942, allocations: 0.9631 MB / 0.9217 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002851/0.1023, allocations: 1.797 MB / 0.9235 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002902/0.1052, allocations: 1.345 MB / 0.9248 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.00885/0.114, allocations: 6.689 MB / 0.9313 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.114, allocations: 4 kB / 0.9313 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.473e-06/0.114, allocations: 0 / 0.9313 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000173/0.1142, allocations: 0 / 0.9313 GB, free: 15.26 MB / 0.9011 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.008239/0.1224, allocations: 3.458 MB / 0.9347 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1225, allocations: 8.031 kB / 0.9347 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004746/0.1272, allocations: 1.056 MB / 0.9357 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004978/0.1322, allocations: 2.145 MB / 0.9378 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/0.1324, allocations: 226.3 kB / 0.938 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006528/0.1331, allocations: 300.3 kB / 0.9383 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009554/0.1426, allocations: 5.238 MB / 0.9434 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.34e-05/0.1427, allocations: 16.08 kB / 0.9434 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003491/0.1431, allocations: 127.9 kB / 0.9436 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005031/0.1436, allocations: 229.7 kB / 0.9438 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00698/0.1506, allocations: 3.746 MB / 0.9474 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02296/0.1735, allocations: 13.24 MB / 0.9604 GB, free: 0.7461 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.1756, allocations: 1.229 MB / 0.9616 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.1772, allocations: 0.9875 MB / 0.9625 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.717e-05/0.1773, allocations: 21 kB / 0.9626 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.1774, allocations: 43.56 kB / 0.9626 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=107): time 2.966e-06/0.1774, allocations: 0 / 0.9626 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of matching and sorting (n=138): time 0.02677/0.2041, allocations: 8.455 MB / 0.9709 GB, free: 5.988 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.2042, allocations: 72.66 kB / 0.9709 GB, free: 5.902 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.206, allocations: 1.071 MB / 0.972 GB, free: 4.82 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.2062, allocations: 45.7 kB / 0.972 GB, free: 4.77 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.2074, allocations: 1.35 MB / 0.9733 GB, free: 3.406 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005964/0.208, allocations: 0.4919 MB / 0.9738 GB, free: 2.91 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005836/0.2086, allocations: 291.5 kB / 0.9741 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2088, allocations: 301.1 kB / 0.9744 GB, free: 2.324 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.2103, allocations: 0.8979 MB / 0.9753 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.2124, allocations: 1.372 MB / 0.9766 GB, free: 15.85 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004069/0.2165, allocations: 2.475 MB / 0.979 GB, free: 13.17 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.2165, allocations: 4 kB / 0.979 GB, free: 13.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.007405/0.2239, allocations: 3.5 MB / 0.9824 GB, free: 9.648 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.2239, allocations: 15.94 kB / 0.9825 GB, free: 9.633 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/0.224, allocations: 20 kB / 0.9825 GB, free: 9.613 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004621/0.2286, allocations: 1.329 MB / 0.9838 GB, free: 8.281 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.2297, allocations: 271.5 kB / 0.984 GB, free: 8.016 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/0.2516, allocations: 13.27 MB / 0.997 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.253, allocations: 95.91 kB / 0.9971 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/0.2532, allocations: 71.94 kB / 0.9971 GB, free: 10.28 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (136): * Single equations (assignments): 133 * 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,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002449/0.2557, allocations: 1.122 MB / 0.9982 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005604/0.2563, allocations: 199.1 kB / 0.9984 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006819/0.2631, allocations: 3.122 MB / 1.001 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.2631, allocations: 16 kB / 1.001 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.274e-05/0.2631, allocations: 12 kB / 1.002 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.2631, allocations: 7.969 kB / 1.002 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.2754, allocations: 5.445 MB / 1.007 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.2755, allocations: 11.94 kB / 1.007 GB, free: 216 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/0.2762, allocations: 151.8 kB / 1.007 GB, free: 64 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004143/0.2803, allocations: 1.195 MB / 1.008 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/0.2805, allocations: 36 kB / 1.008 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/0.3017, allocations: 12.97 MB / 1.021 GB, free: 1.555 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/0.3017, allocations: 16 kB / 1.021 GB, free: 1.539 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00662/0.3083, allocations: 3.127 MB / 1.024 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009916/0.3093, allocations: 350.9 kB / 1.024 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/0.3097, allocations: 32 kB / 1.024 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009475/0.3106, allocations: 79.89 kB / 1.024 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004232/0.311, allocations: 132.6 kB / 1.024 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.3111, allocations: 36 kB / 1.025 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001279/0.3124, allocations: 0.7141 MB / 1.025 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.3124, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002587/0.315, allocations: 0.6562 MB / 1.026 GB, free: 12.33 MB / 0.9948 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.0002858/0.3153, allocations: 139 kB / 1.026 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005737/0.321, allocations: 2.996 MB / 1.029 GB, free: 9.152 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.321, allocations: 1.25 kB / 1.029 GB, free: 9.152 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003584/0.3246, allocations: 1.887 MB / 1.031 GB, free: 7.23 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/0.3271, allocations: 482.7 kB / 1.031 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.3386, allocations: 5.589 MB / 1.037 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003019/0.3416, allocations: 1.769 MB / 1.038 GB, free: 15.28 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001163/0.3428, allocations: 349.5 kB / 1.039 GB, free: 14.93 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.3431, allocations: 80.5 kB / 1.039 GB, free: 14.85 MB / 1.01 GB Notification: Performance of SimCode: time 1.213e-06/0.3431, allocations: 0 / 1.039 GB, free: 14.85 MB / 1.01 GB Notification: Performance of Templates: time 0.41/0.7531, allocations: 32.79 MB / 1.071 GB, free: 195.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.636367200058885]