Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001213/0.001213, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.00132/0.00132, allocations: 178.2 kB / 23.21 MB, free: 1.352 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 0.921/0.921, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.724/1.724, allocations: 377.9 MB / 0.6229 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 3.938 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.235e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004871/0.004903, allocations: 5.296 MB / 0.9874 GB, free: 12.77 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002522/0.007425, allocations: 2.595 MB / 0.9899 GB, free: 10.16 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.007614, allocations: 35.69 kB / 0.9899 GB, free: 10.12 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009131/0.008527, allocations: 0.6871 MB / 0.9906 GB, free: 9.438 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.009019, allocations: 441.3 kB / 0.991 GB, free: 9.004 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.00947, allocations: 414.7 kB / 0.9914 GB, free: 8.598 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006252/0.0101, allocations: 0.994 MB / 0.9924 GB, free: 7.602 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004025/0.0105, allocations: 370.5 kB / 0.9928 GB, free: 7.234 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004274/0.01093, allocations: 0.526 MB / 0.9933 GB, free: 6.707 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.01125, allocations: 362.9 kB / 0.9936 GB, free: 6.352 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.0113, allocations: 48 kB / 0.9937 GB, free: 6.305 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.0116, allocations: 339.1 kB / 0.994 GB, free: 5.973 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.01177, allocations: 259.2 kB / 0.9942 GB, free: 5.719 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.01192, allocations: 235.4 kB / 0.9945 GB, free: 5.488 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006945/0.01262, allocations: 1.008 MB / 0.9954 GB, free: 4.477 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01262, allocations: 0 / 0.9954 GB, free: 4.477 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.71e-07/0.01262, allocations: 0 / 0.9954 GB, free: 4.477 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.01263, allocations: 0 / 0.9954 GB, free: 4.477 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0009777/0.0136, allocations: 0.9053 MB / 0.9963 GB, free: 3.539 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.01364, allocations: 15.95 kB / 0.9963 GB, free: 3.523 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007072/0.01435, allocations: 204.2 kB / 0.9965 GB, free: 3.324 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.01488, allocations: 472.1 kB / 0.997 GB, free: 2.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.01491, allocations: 41.36 kB / 0.997 GB, free: 2.797 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.01501, allocations: 52.55 kB / 0.9971 GB, free: 2.746 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008369/0.01585, allocations: 0.9944 MB / 0.998 GB, free: 1.629 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.01587, allocations: 192 / 0.998 GB, free: 1.629 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.01591, allocations: 32.11 kB / 0.9981 GB, free: 1.598 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.01602, allocations: 60.95 kB / 0.9981 GB, free: 1.539 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005841/0.0166, allocations: 0.5735 MB / 0.9987 GB, free: 0.9648 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.01902, allocations: 3.468 MB / 1.002 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.01934, allocations: 275.3 kB / 1.002 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.01955, allocations: 213.3 kB / 1.003 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.01957, allocations: 4.219 kB / 1.003 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.0196, allocations: 42.78 kB / 1.003 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.0196, allocations: 0 / 1.003 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40): time 0.003145/0.02275, allocations: 2.324 MB / 1.005 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.02278, allocations: 55.41 kB / 1.005 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.02308, allocations: 437.7 kB / 1.005 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.0231, allocations: 37.64 kB / 1.005 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.02328, allocations: 356.4 kB / 1.006 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.02335, allocations: 154.7 kB / 1.006 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.02346, allocations: 102.3 kB / 1.006 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.02357, allocations: 366.7 kB / 1.006 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.02381, allocations: 237.2 kB / 1.007 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.02411, allocations: 407.4 kB / 1.007 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/0.02469, allocations: 0.6855 MB / 1.008 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.02469, allocations: 0 / 1.008 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009627/0.02565, allocations: 0.9099 MB / 1.008 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.02567, allocations: 12.12 kB / 1.008 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.02568, allocations: 7.984 kB / 1.008 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.0261, allocations: 218.4 kB / 1.009 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.02636, allocations: 119.8 kB / 1.009 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.02943, allocations: 4.935 MB / 1.014 GB, free: 0.9375 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.02962, allocations: 35.97 kB / 1.014 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.02964, allocations: 27.94 kB / 1.014 GB, free: 0.875 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(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.0001782/0.02982, allocations: 217.7 kB / 1.014 GB, free: 0.6523 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.02987, allocations: 55.67 kB / 1.014 GB, free: 0.5977 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008662/0.03074, allocations: 0.7616 MB / 1.015 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.03074, allocations: 4 kB / 1.015 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.03075, allocations: 4 kB / 1.015 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.03075, allocations: 3.984 kB / 1.015 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.03209, allocations: 1.329 MB / 1.016 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.03209, allocations: 4.219 kB / 1.016 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.03227, allocations: 71.88 kB / 1.016 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003465/0.03262, allocations: 210.3 kB / 1.016 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.03263, allocations: 8 kB / 1.016 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002942/0.03558, allocations: 4.876 MB / 1.021 GB, free: 8.922 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.03558, allocations: 3.938 kB / 1.021 GB, free: 8.918 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.03688, allocations: 1.112 MB / 1.022 GB, free: 7.758 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.03711, allocations: 91.66 kB / 1.022 GB, free: 7.668 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.03716, allocations: 12.06 kB / 1.022 GB, free: 7.656 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.03742, allocations: 35.91 kB / 1.022 GB, free: 7.621 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.0375, allocations: 35.92 kB / 1.022 GB, free: 7.586 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.03752, allocations: 16 kB / 1.022 GB, free: 7.57 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002498/0.03777, allocations: 286.9 kB / 1.023 GB, free: 7.289 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.2e-07/0.03777, allocations: 0 / 1.023 GB, free: 7.289 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005033/0.03828, allocations: 164 kB / 1.023 GB, free: 7.129 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,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.0001655/0.03844, allocations: 119.2 kB / 1.023 GB, free: 7.004 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.03967, allocations: 0.9624 MB / 1.024 GB, free: 6.004 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.03967, allocations: 4 kB / 1.024 GB, free: 6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005605/0.04023, allocations: 0.6641 MB / 1.024 GB, free: 5.297 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.04078, allocations: 183.7 kB / 1.025 GB, free: 5.125 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.04225, allocations: 1.279 MB / 1.026 GB, free: 3.789 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.0425, allocations: 350.1 kB / 1.026 GB, free: 3.422 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/0.04259, allocations: 44.5 kB / 1.026 GB, free: 3.379 MB / 0.9792 GB Notification: Performance of SimCode: time 1.623e-06/0.04259, allocations: 3.938 kB / 1.026 GB, free: 3.375 MB / 0.9792 GB Notification: Performance of Templates: time 0.01106/0.05365, allocations: 15.06 MB / 1.041 GB, free: 4.359 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.320183590054512]