Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001896/0.001896, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002372/0.002372, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.46/1.46, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.72/2.72, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] 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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.408e-05, allocations: 4.5 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03701/0.03703, allocations: 25.07 MB / 0.8109 GB, free: 3.664 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.05319, allocations: 7.99 MB / 0.8187 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.05547, allocations: 154.8 kB / 0.8188 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.008254/0.06373, allocations: 2.783 MB / 0.8216 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005248/0.06897, allocations: 1.703 MB / 0.8232 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005061/0.07403, allocations: 1.708 MB / 0.8249 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.009383/0.08342, allocations: 6.266 MB / 0.831 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006645/0.09006, allocations: 3.754 MB / 0.8347 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006955/0.09702, allocations: 3.699 MB / 0.8383 GB, free: 7.496 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0048/0.1018, allocations: 2.634 MB / 0.8409 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001026/0.1028, allocations: 0.5195 MB / 0.8414 GB, free: 4.336 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.1055, allocations: 1.228 MB / 0.8426 GB, free: 3.105 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003034/0.1086, allocations: 2.206 MB / 0.8447 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002882/0.1115, allocations: 1.672 MB / 0.8464 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.1227, allocations: 8.259 MB / 0.8544 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1227, allocations: 4 kB / 0.8544 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1227, allocations: 0 / 0.8544 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002021/0.1229, allocations: 0 / 0.8544 GB, free: 6.934 MB / 0.8073 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.009636/0.1326, allocations: 4.248 MB / 0.8586 GB, free: 2.633 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1326, allocations: 8.031 kB / 0.8586 GB, free: 2.625 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005671/0.1383, allocations: 1.317 MB / 0.8599 GB, free: 1.305 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005794/0.1441, allocations: 2.713 MB / 0.8625 GB, free: 14.53 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002755/0.1444, allocations: 271.6 kB / 0.8628 GB, free: 14.26 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000908/0.1453, allocations: 384.8 kB / 0.8631 GB, free: 13.89 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/0.157, allocations: 6.448 MB / 0.8694 GB, free: 7.074 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-05/0.1571, allocations: 19.81 kB / 0.8695 GB, free: 7.055 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004246/0.1575, allocations: 160 kB / 0.8696 GB, free: 6.898 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000673/0.1582, allocations: 282.9 kB / 0.8699 GB, free: 6.621 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008631/0.1668, allocations: 4.528 MB / 0.8743 GB, free: 2.086 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0273/0.1941, allocations: 17.57 MB / 0.8915 GB, free: 16 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.1963, allocations: 1.064 MB / 0.8925 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.1978, allocations: 0.9524 MB / 0.8934 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.891e-05/0.1979, allocations: 21 kB / 0.8934 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.1979, allocations: 43.56 kB / 0.8935 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 3.105e-06/0.1979, allocations: 0 / 0.8935 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.02527/0.2232, allocations: 9.273 MB / 0.9025 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.2233, allocations: 68.72 kB / 0.9026 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/0.2255, allocations: 1.414 MB / 0.904 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.2256, allocations: 53.7 kB / 0.904 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.2272, allocations: 1.738 MB / 0.9057 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000532/0.2277, allocations: 487.8 kB / 0.9062 GB, free: 0.7969 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008162/0.2285, allocations: 335.4 kB / 0.9065 GB, free: 476 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2287, allocations: 305.1 kB / 0.9068 GB, free: 168 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.2303, allocations: 0.8979 MB / 0.9077 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.2325, allocations: 1.532 MB / 0.9092 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/0.2366, allocations: 2.633 MB / 0.9118 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.2366, allocations: 8 kB / 0.9118 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007254/0.2439, allocations: 3.381 MB / 0.9151 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.2439, allocations: 12 kB / 0.9151 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.244, allocations: 20 kB / 0.9151 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/0.2472, allocations: 0.8506 MB / 0.9159 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.2487, allocations: 395.3 kB / 0.9163 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02067/0.2694, allocations: 15.86 MB / 0.9318 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.271, allocations: 108 kB / 0.9319 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.2712, allocations: 83.98 kB / 0.932 GB, free: 4.828 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (199): * Single equations (assignments): 190 * 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.00246/0.2737, allocations: 1.321 MB / 0.9333 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004841/0.2741, allocations: 250.7 kB / 0.9335 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006152/0.2803, allocations: 2.753 MB / 0.9362 GB, free: 464 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.2803, allocations: 12 kB / 0.9362 GB, free: 452 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/0.2803, allocations: 8 kB / 0.9362 GB, free: 444 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.2803, allocations: 11.97 kB / 0.9362 GB, free: 432 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.292, allocations: 5.33 MB / 0.9414 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.292, allocations: 4 kB / 0.9414 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.2932, allocations: 227.7 kB / 0.9417 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00295/0.2961, allocations: 0.7686 MB / 0.9424 GB, free: 9.926 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.2962, allocations: 35.98 kB / 0.9424 GB, free: 9.891 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01964/0.3159, allocations: 15.59 MB / 0.9577 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.3159, allocations: 4 kB / 0.9577 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007604/0.3235, allocations: 4.02 MB / 0.9616 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.3247, allocations: 370.7 kB / 0.9619 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003349/0.325, allocations: 32 kB / 0.962 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000993/0.326, allocations: 79.89 kB / 0.9621 GB, free: 4.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003413/0.3264, allocations: 124.6 kB / 0.9622 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.3265, allocations: 40 kB / 0.9622 GB, free: 4.609 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001524/0.328, allocations: 0.9132 MB / 0.9631 GB, free: 3.703 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.328, allocations: 0 / 0.9631 GB, free: 3.703 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002428/0.3304, allocations: 0.6953 MB / 0.9638 GB, free: 3.008 MB / 0.9167 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.0002846/0.3307, allocations: 144.4 kB / 0.9639 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006164/0.3369, allocations: 3.4 MB / 0.9672 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.3369, allocations: 4 kB / 0.9672 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004011/0.3409, allocations: 2.241 MB / 0.9694 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/0.3439, allocations: 0.6385 MB / 0.9701 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.3577, allocations: 6.614 MB / 0.9765 GB, free: 5.633 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/0.3616, allocations: 2.105 MB / 0.9786 GB, free: 3.492 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002/0.3636, allocations: 476.7 kB / 0.979 GB, free: 3.023 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/0.3641, allocations: 112.5 kB / 0.9791 GB, free: 2.914 MB / 0.9323 GB Notification: Performance of SimCode: time 2.345e-06/0.3641, allocations: 0 / 0.9791 GB, free: 2.914 MB / 0.9323 GB Notification: Performance of Templates: time 0.06416/0.4283, allocations: 33.47 MB / 1.012 GB, free: 2.211 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.785402134992182]