Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.002328/0.002328, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002702/0.002702, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.694/1.694, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.051/3.051, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8108 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.855e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03958/0.03961, allocations: 26.84 MB / 0.837 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.05609, allocations: 8.241 MB / 0.8451 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.05801, allocations: 150.9 kB / 0.8452 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.007977/0.06599, allocations: 2.864 MB / 0.848 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.004351/0.07034, allocations: 1.709 MB / 0.8497 GB, free: 9.082 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0043/0.07464, allocations: 1.714 MB / 0.8514 GB, free: 7.363 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.008594/0.08323, allocations: 6.25 MB / 0.8575 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006084/0.08932, allocations: 3.762 MB / 0.8611 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006517/0.09583, allocations: 3.758 MB / 0.8648 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005179/0.101, allocations: 2.81 MB / 0.8676 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.1021, allocations: 0.5156 MB / 0.8681 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.1051, allocations: 1.22 MB / 0.8692 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002846/0.1079, allocations: 2.229 MB / 0.8714 GB, free: 2.688 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002893/0.1108, allocations: 1.669 MB / 0.8731 GB, free: 1.016 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.1217, allocations: 8.255 MB / 0.8811 GB, free: 8.738 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1217, allocations: 4 kB / 0.8811 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1217, allocations: 0 / 0.8811 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001475/0.1219, allocations: 0 / 0.8811 GB, free: 8.734 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01058/0.1324, allocations: 4.873 MB / 0.8859 GB, free: 3.801 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1325, allocations: 16.03 kB / 0.8859 GB, free: 3.785 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/0.1377, allocations: 1.266 MB / 0.8871 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006919/0.1446, allocations: 2.524 MB / 0.8896 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.1449, allocations: 279.6 kB / 0.8899 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000993/0.1459, allocations: 380.9 kB / 0.8902 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009055/0.1549, allocations: 4.429 MB / 0.8945 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.155, allocations: 19.77 kB / 0.8946 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004142/0.1555, allocations: 156 kB / 0.8947 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006785/0.1561, allocations: 282.9 kB / 0.895 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004996/0.1611, allocations: 1.631 MB / 0.8966 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03484/0.196, allocations: 23.72 MB / 0.9197 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.1973, allocations: 0.5144 MB / 0.9202 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009895/0.1983, allocations: 479.1 kB / 0.9207 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.264e-05/0.1984, allocations: 21 kB / 0.9207 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/0.1985, allocations: 46.39 kB / 0.9208 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 3.006e-06/0.1985, allocations: 4 kB / 0.9208 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=131): time 0.01696/0.2154, allocations: 5.47 MB / 0.9261 GB, free: 9.246 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.2155, allocations: 64.72 kB / 0.9262 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002755/0.2183, allocations: 1.797 MB / 0.9279 GB, free: 7.355 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.2184, allocations: 53.7 kB / 0.928 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001777/0.2202, allocations: 1.874 MB / 0.9298 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006519/0.2208, allocations: 0.5311 MB / 0.9303 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007091/0.2215, allocations: 397 kB / 0.9307 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002499/0.2218, allocations: 480.8 kB / 0.9312 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.223, allocations: 455.7 kB / 0.9316 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.2249, allocations: 1.284 MB / 0.9329 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003137/0.228, allocations: 1.868 MB / 0.9347 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.228, allocations: 8 kB / 0.9347 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005715/0.2338, allocations: 2.288 MB / 0.9369 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.2338, allocations: 14.88 kB / 0.9369 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/0.2338, allocations: 16 kB / 0.937 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/0.2368, allocations: 0.6685 MB / 0.9376 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.2388, allocations: 387.3 kB / 0.938 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/0.2592, allocations: 17.88 MB / 0.9554 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.2611, allocations: 103.8 kB / 0.9555 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/0.2613, allocations: 84.11 kB / 0.9556 GB, free: 9.125 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001327/0.2626, allocations: 392 kB / 0.956 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007078/0.2634, allocations: 242.7 kB / 0.9562 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/0.2682, allocations: 1.747 MB / 0.9579 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.2682, allocations: 16 kB / 0.9579 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.2682, allocations: 8 kB / 0.9579 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.2682, allocations: 7.969 kB / 0.958 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/0.2807, allocations: 5.429 MB / 0.9633 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.2807, allocations: 4 kB / 0.9633 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.282, allocations: 231.7 kB / 0.9635 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002682/0.2847, allocations: 0.6106 MB / 0.9641 GB, free: 172 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.2848, allocations: 32 kB / 0.9641 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/0.3053, allocations: 17.8 MB / 0.9815 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/0.3053, allocations: 11.92 kB / 0.9815 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005816/0.3111, allocations: 2.435 MB / 0.9839 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.3123, allocations: 354.6 kB / 0.9842 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.3125, allocations: 32 kB / 0.9842 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009765/0.3135, allocations: 83.89 kB / 0.9843 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/0.3139, allocations: 128.5 kB / 0.9844 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.314, allocations: 40 kB / 0.9845 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001628/0.3156, allocations: 1.002 MB / 0.9855 GB, free: 9.016 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.3156, allocations: 0 / 0.9855 GB, free: 9.016 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002426/0.3181, allocations: 0.6914 MB / 0.9861 GB, free: 8.324 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002918/0.3184, allocations: 151 kB / 0.9863 GB, free: 8.168 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005856/0.3242, allocations: 3.14 MB / 0.9894 GB, free: 4.867 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.976e-06/0.3242, allocations: 4 kB / 0.9894 GB, free: 4.863 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003814/0.328, allocations: 2.399 MB / 0.9917 GB, free: 2.301 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/0.3311, allocations: 0.6553 MB / 0.9923 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.3427, allocations: 5.967 MB / 0.9982 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002867/0.3456, allocations: 1.894 MB / 1 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00168/0.3473, allocations: 396.4 kB / 1 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.3476, allocations: 112.5 kB / 1.001 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of SimCode: time 1.853e-06/0.3476, allocations: 0 / 1.001 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of Templates: time 0.4002/0.7478, allocations: 33.93 MB / 1.034 GB, free: 192.1 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.726902523078024]