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.002468/0.002468, allocations: 89.48 kB / 19.44 MB, free: 336 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.002983/0.002983, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.543 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.328/3.328, allocations: 429.5 MB / 0.6729 GB, free: 4.023 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.543e-06/1.543e-06, allocations: 0 / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.765e-05, allocations: 5.406 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.03031/0.03034, allocations: 20.44 MB / 0.8974 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01309/0.04343, allocations: 6.595 MB / 0.9039 GB, free: 11.55 MB / 0.8699 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.04518, allocations: 111.2 kB / 0.904 GB, free: 11.45 MB / 0.8699 GB Notification: Performance of NFTyping.typeComponents: time 0.006593/0.05177, allocations: 2.322 MB / 0.9062 GB, free: 9.113 MB / 0.8699 GB Notification: Performance of NFTyping.typeBindings: time 0.003662/0.05543, allocations: 1.27 MB / 0.9075 GB, free: 7.836 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.003542/0.05897, allocations: 1.301 MB / 0.9088 GB, free: 6.531 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.007115/0.06609, allocations: 4.939 MB / 0.9136 GB, free: 1.574 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005521/0.07161, allocations: 3.174 MB / 0.9167 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005743/0.07735, allocations: 3.04 MB / 0.9196 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00441/0.08176, allocations: 2.334 MB / 0.9219 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0008974/0.08266, allocations: 428 kB / 0.9223 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.08495, allocations: 0.9632 MB / 0.9233 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002416/0.08736, allocations: 1.808 MB / 0.925 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002613/0.08998, allocations: 1.357 MB / 0.9264 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.008993/0.09897, allocations: 6.689 MB / 0.9329 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.09897, allocations: 0 / 0.9329 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.453e-06/0.09898, allocations: 0 / 0.9329 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001491/0.09913, allocations: 0 / 0.9329 GB, free: 13.68 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.009186/0.1083, allocations: 3.97 MB / 0.9368 GB, free: 9.656 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.1084, allocations: 12.03 kB / 0.9368 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004345/0.1127, allocations: 1.025 MB / 0.9378 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005497/0.1182, allocations: 1.964 MB / 0.9397 GB, free: 6.598 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.1184, allocations: 222.3 kB / 0.9399 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007787/0.1192, allocations: 304.3 kB / 0.9402 GB, free: 6.082 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00769/0.1269, allocations: 3.507 MB / 0.9436 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.101e-05/0.127, allocations: 12.12 kB / 0.9436 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/0.1273, allocations: 131.9 kB / 0.9438 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004995/0.1278, allocations: 229.7 kB / 0.944 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00423/0.1321, allocations: 1.307 MB / 0.9453 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02744/0.1595, allocations: 17.85 MB / 0.9627 GB, free: 14.14 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.161, allocations: 0.6463 MB / 0.9633 GB, free: 13.48 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.1621, allocations: 490.4 kB / 0.9638 GB, free: 13 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-05/0.1622, allocations: 20.94 kB / 0.9638 GB, free: 12.98 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.1622, allocations: 50.39 kB / 0.9639 GB, free: 12.92 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=107): time 3.206e-06/0.1622, allocations: 0 / 0.9639 GB, free: 12.92 MB / 0.9324 GB Notification: Performance of matching and sorting (n=138): time 0.01665/0.1789, allocations: 4.795 MB / 0.9685 GB, free: 8.125 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.1789, allocations: 64.72 kB / 0.9686 GB, free: 8.051 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.181, allocations: 1.348 MB / 0.9699 GB, free: 6.691 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.1811, allocations: 53.64 kB / 0.97 GB, free: 6.633 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/0.1825, allocations: 1.47 MB / 0.9714 GB, free: 5.148 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006494/0.1831, allocations: 0.5466 MB / 0.9719 GB, free: 4.598 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006396/0.1838, allocations: 361.1 kB / 0.9723 GB, free: 4.234 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0002442/0.184, allocations: 480.8 kB / 0.9727 GB, free: 3.762 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.1851, allocations: 423.7 kB / 0.9732 GB, free: 3.348 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.1866, allocations: 1.045 MB / 0.9742 GB, free: 2.07 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002686/0.1893, allocations: 1.652 MB / 0.9758 GB, free: 188 kB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.1893, allocations: 4 kB / 0.9758 GB, free: 184 kB / 0.9324 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005591/0.1949, allocations: 2.239 MB / 0.978 GB, free: 13.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.1949, allocations: 11.94 kB / 0.978 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.195, allocations: 12 kB / 0.978 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003938/0.1989, allocations: 1.001 MB / 0.979 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.1999, allocations: 259.5 kB / 0.9792 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01635/0.2163, allocations: 10.05 MB / 0.989 GB, free: 2.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.2176, allocations: 88.05 kB / 0.9891 GB, free: 2.145 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.2178, allocations: 63.98 kB / 0.9892 GB, free: 2.082 MB / 0.948 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.0009783/0.2187, allocations: 352.1 kB / 0.9895 GB, free: 1.727 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003721/0.2191, allocations: 199 kB / 0.9897 GB, free: 1.531 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00517/0.2243, allocations: 1.892 MB / 0.9916 GB, free: 15.62 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.2243, allocations: 16 kB / 0.9916 GB, free: 15.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.2243, allocations: 12 kB / 0.9916 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.2243, allocations: 3.984 kB / 0.9916 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/0.2356, allocations: 5.021 MB / 0.9965 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.2356, allocations: 7.938 kB / 0.9965 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.2362, allocations: 147.8 kB / 0.9966 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003623/0.2398, allocations: 0.9185 MB / 0.9975 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.24, allocations: 28 kB / 0.9976 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/0.2557, allocations: 9.931 MB / 1.007 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/0.2558, allocations: 7.938 kB / 1.007 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005671/0.2614, allocations: 2.125 MB / 1.009 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.2625, allocations: 322.9 kB / 1.01 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.2627, allocations: 31.98 kB / 1.01 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008208/0.2636, allocations: 83.89 kB / 1.01 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003989/0.264, allocations: 128.6 kB / 1.01 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.2641, allocations: 40 kB / 1.01 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001186/0.2652, allocations: 0.7762 MB / 1.011 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.2652, allocations: 0 / 1.011 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002163/0.2674, allocations: 0.668 MB / 1.011 GB, free: 10.75 MB / 0.9792 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.0002533/0.2677, allocations: 135.1 kB / 1.011 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004695/0.2723, allocations: 2.382 MB / 1.014 GB, free: 8.18 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.2724, allocations: 0 / 1.014 GB, free: 8.18 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003305/0.2757, allocations: 1.739 MB / 1.015 GB, free: 6.387 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.2779, allocations: 485 kB / 1.016 GB, free: 5.93 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009427/0.2873, allocations: 4.928 MB / 1.021 GB, free: 0.8711 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002458/0.2898, allocations: 1.581 MB / 1.022 GB, free: 15.25 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.001003/0.2908, allocations: 293.3 kB / 1.023 GB, free: 14.96 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.291, allocations: 84.5 kB / 1.023 GB, free: 14.88 MB / 0.9949 GB Notification: Performance of SimCode: time 1.553e-06/0.291, allocations: 3.938 kB / 1.023 GB, free: 14.88 MB / 0.9949 GB Notification: Performance of Templates: time 0.4048/0.6959, allocations: 33.43 MB / 1.055 GB, free: 195.4 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] 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.72824452794157]