Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.002473/0.002473, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002821/0.002821, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.569/1.569, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 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 3.034/3.034, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.681e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04834/0.04837, allocations: 32.84 MB / 0.8185 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.021/0.06937, allocations: 10.49 MB / 0.8287 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003056/0.07243, allocations: 198.5 kB / 0.8289 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.01139/0.08382, allocations: 3.85 MB / 0.8327 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005772/0.08959, allocations: 2.005 MB / 0.8346 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.005796/0.09539, allocations: 2.166 MB / 0.8367 GB, free: 9.117 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01087/0.1063, allocations: 7.445 MB / 0.844 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01041/0.1167, allocations: 5.14 MB / 0.849 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008936/0.1256, allocations: 4.65 MB / 0.8536 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006122/0.1317, allocations: 3.468 MB / 0.857 GB, free: 4.246 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.1329, allocations: 0.6445 MB / 0.8576 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004073/0.137, allocations: 1.673 MB / 0.8592 GB, free: 1.926 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.003744/0.1407, allocations: 2.775 MB / 0.8619 GB, free: 15.14 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003971/0.1447, allocations: 2.035 MB / 0.8639 GB, free: 13.11 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.1593, allocations: 10.38 MB / 0.8741 GB, free: 2.699 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1593, allocations: 4 kB / 0.8741 GB, free: 2.695 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1593, allocations: 0 / 0.8741 GB, free: 2.695 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002911/0.1596, allocations: 0 / 0.8741 GB, free: 2.695 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01286/0.1724, allocations: 5.785 MB / 0.8797 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1725, allocations: 8.031 kB / 0.8797 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006781/0.1793, allocations: 1.57 MB / 0.8812 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008021/0.1873, allocations: 2.966 MB / 0.8841 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003575/0.1876, allocations: 349.7 kB / 0.8845 GB, free: 7.883 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.1889, allocations: 472.3 kB / 0.8849 GB, free: 7.422 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.2008, allocations: 5.315 MB / 0.8901 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/0.2009, allocations: 43.89 kB / 0.8902 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000505/0.2014, allocations: 200.3 kB / 0.8904 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004172/0.2018, allocations: 308.9 kB / 0.8906 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006102/0.2079, allocations: 1.967 MB / 0.8926 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04278/0.2507, allocations: 30.06 MB / 0.9219 GB, free: 60 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.2529, allocations: 0.844 MB / 0.9227 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.2539, allocations: 0.5375 MB / 0.9233 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.82e-05/0.254, allocations: 29.25 kB / 0.9233 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.2541, allocations: 54.7 kB / 0.9234 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=133): time 3.136e-06/0.2541, allocations: 0 / 0.9234 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136): time 0.01213/0.2662, allocations: 4.027 MB / 0.9273 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.2663, allocations: 64.72 kB / 0.9273 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.2689, allocations: 1.85 MB / 0.9292 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.269, allocations: 53.7 kB / 0.9292 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002036/0.271, allocations: 2.209 MB / 0.9314 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005888/0.2716, allocations: 0.5427 MB / 0.9319 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007069/0.2723, allocations: 429 kB / 0.9323 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002397/0.2725, allocations: 480.7 kB / 0.9328 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009152/0.2735, allocations: 419.8 kB / 0.9332 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.2754, allocations: 1.458 MB / 0.9346 GB, free: 2.535 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003152/0.2785, allocations: 2.032 MB / 0.9366 GB, free: 80 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.2786, allocations: 8 kB / 0.9366 GB, free: 72 kB / 0.8855 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005508/0.2841, allocations: 2.44 MB / 0.939 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.2841, allocations: 16 kB / 0.939 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.2841, allocations: 28.12 kB / 0.939 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003179/0.2873, allocations: 0.8002 MB / 0.9398 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.2886, allocations: 351.4 kB / 0.9401 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02581/0.3144, allocations: 24.65 MB / 0.9642 GB, free: 2.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.3159, allocations: 99.86 kB / 0.9643 GB, free: 2.109 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.316, allocations: 95.98 kB / 0.9644 GB, free: 2.016 MB / 0.9167 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.001296/0.3173, allocations: 411.9 kB / 0.9648 GB, free: 1.602 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00043/0.3178, allocations: 246.7 kB / 0.965 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004699/0.3225, allocations: 1.798 MB / 0.9668 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.3225, allocations: 16 kB / 0.9668 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/0.3225, allocations: 8 kB / 0.9668 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.3225, allocations: 7.969 kB / 0.9668 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.3357, allocations: 6.208 MB / 0.9729 GB, free: 9.082 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.3357, allocations: 4.562 kB / 0.9729 GB, free: 9.078 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008593/0.3365, allocations: 187.7 kB / 0.973 GB, free: 8.895 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/0.3395, allocations: 0.7418 MB / 0.9738 GB, free: 8.102 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.3396, allocations: 24 kB / 0.9738 GB, free: 8.078 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02425/0.3639, allocations: 23.54 MB / 0.9968 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.3639, allocations: 7.938 kB / 0.9968 GB, free: 15.06 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004996/0.3689, allocations: 2.085 MB / 0.9988 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.37, allocations: 358.6 kB / 0.9992 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.3702, allocations: 31.94 kB / 0.9992 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008266/0.371, allocations: 79.91 kB / 0.9993 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003662/0.3714, allocations: 132.6 kB / 0.9994 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.3715, allocations: 40 kB / 0.9994 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001528/0.373, allocations: 1.011 MB / 1 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.373, allocations: 0 / 1 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002837/0.3759, allocations: 0.8008 MB / 1.001 GB, free: 10.39 MB / 0.9636 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002485/0.3761, allocations: 139.1 kB / 1.001 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005998/0.3821, allocations: 3.78 MB / 1.005 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.3821, allocations: 8.062 kB / 1.005 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004374/0.3865, allocations: 2.97 MB / 1.008 GB, free: 3.062 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/0.3897, allocations: 0.7185 MB / 1.009 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.4023, allocations: 6.711 MB / 1.015 GB, free: 11.51 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00334/0.4057, allocations: 2.295 MB / 1.017 GB, free: 9.184 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001256/0.4069, allocations: 369.2 kB / 1.018 GB, free: 8.82 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.4072, allocations: 108.5 kB / 1.018 GB, free: 8.715 MB / 0.9792 GB Notification: Performance of SimCode: time 1.282e-06/0.4072, allocations: 0 / 1.018 GB, free: 8.715 MB / 0.9792 GB Notification: Performance of Templates: time 0.07184/0.4791, allocations: 36.62 MB / 1.054 GB, free: 4.84 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.917978715966456]