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.001815/0.001815, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001878/0.001878, allocations: 163.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.529/1.529, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 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 2.829/2.829, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 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.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.555e-06/2.555e-06, allocations: 0 / 0.9814 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/3.07e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.009757/0.009788, allocations: 5.292 MB / 0.9866 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005473/0.01526, allocations: 2.599 MB / 0.9891 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004116/0.01567, allocations: 35.69 kB / 0.9892 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.01785, allocations: 0.6767 MB / 0.9898 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.01907, allocations: 449.2 kB / 0.9903 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.02013, allocations: 412.6 kB / 0.9907 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001225/0.02135, allocations: 0.9824 MB / 0.9916 GB, free: 432 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00061/0.02196, allocations: 374.5 kB / 0.992 GB, free: 56 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008689/0.02283, allocations: 0.5298 MB / 0.9925 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006218/0.02345, allocations: 370.9 kB / 0.9928 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.02365, allocations: 48 kB / 0.9929 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007208/0.02437, allocations: 331.2 kB / 0.9932 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.02468, allocations: 259.2 kB / 0.9935 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003435/0.02502, allocations: 239.4 kB / 0.9937 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.02639, allocations: 1.001 MB / 0.9947 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.02639, allocations: 3.938 kB / 0.9947 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.162e-06/0.02639, allocations: 0 / 0.9947 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.0264, allocations: 0 / 0.9947 GB, free: 13.29 MB / 0.9044 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.001748/0.02815, allocations: 0.9131 MB / 0.9956 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.02819, allocations: 8.031 kB / 0.9956 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.02967, allocations: 204.2 kB / 0.9958 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008898/0.03056, allocations: 476.1 kB / 0.9962 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.0306, allocations: 37.36 kB / 0.9962 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.03077, allocations: 52.56 kB / 0.9963 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.03242, allocations: 0.9867 MB / 0.9973 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.03244, allocations: 4.188 kB / 0.9973 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.03251, allocations: 32.11 kB / 0.9973 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003048/0.03282, allocations: 68.88 kB / 0.9974 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009978/0.03382, allocations: 0.5658 MB / 0.9979 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004881/0.0387, allocations: 3.476 MB / 1.001 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/0.0393, allocations: 275.2 kB / 1.002 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.03964, allocations: 217.2 kB / 1.002 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.03966, allocations: 4.219 kB / 1.002 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.0397, allocations: 42.78 kB / 1.002 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.0397, allocations: 0 / 1.002 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40): time 0.006155/0.04585, allocations: 2.336 MB / 1.004 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.0459, allocations: 55.41 kB / 1.004 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/0.04646, allocations: 433.7 kB / 1.005 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.04651, allocations: 33.7 kB / 1.005 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.0468, allocations: 360.4 kB / 1.005 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.04693, allocations: 146.8 kB / 1.005 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.04712, allocations: 106.2 kB / 1.005 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002328/0.04735, allocations: 362.7 kB / 1.006 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.04775, allocations: 237.2 kB / 1.006 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.04831, allocations: 411.3 kB / 1.006 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009963/0.04931, allocations: 0.6779 MB / 1.007 GB, free: 280 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.04931, allocations: 0 / 1.007 GB, free: 280 kB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001906/0.05121, allocations: 0.9178 MB / 1.008 GB, free: 15.34 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.05123, allocations: 8 kB / 1.008 GB, free: 15.33 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.05124, allocations: 4 kB / 1.008 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008688/0.05211, allocations: 222.4 kB / 1.008 GB, free: 15.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.05265, allocations: 115.8 kB / 1.008 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006303/0.05896, allocations: 4.926 MB / 1.013 GB, free: 9.758 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.05941, allocations: 31.97 kB / 1.013 GB, free: 9.727 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.05947, allocations: 31.94 kB / 1.013 GB, free: 9.695 MB / 0.92 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.0003336/0.0598, allocations: 217.7 kB / 1.013 GB, free: 9.473 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.05991, allocations: 59.67 kB / 1.013 GB, free: 9.414 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.06161, allocations: 0.7692 MB / 1.014 GB, free: 8.625 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.06161, allocations: 4 kB / 1.014 GB, free: 8.621 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.06162, allocations: 4 kB / 1.014 GB, free: 8.617 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.06162, allocations: 144 / 1.014 GB, free: 8.617 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.0642, allocations: 1.326 MB / 1.015 GB, free: 7.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.0642, allocations: 12.03 kB / 1.015 GB, free: 7.211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.0646, allocations: 71.86 kB / 1.015 GB, free: 7.141 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007455/0.06535, allocations: 198.4 kB / 1.016 GB, free: 6.938 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/0.06539, allocations: 16 kB / 1.016 GB, free: 6.922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00561/0.071, allocations: 4.868 MB / 1.02 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.071, allocations: 0 / 1.02 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.073, allocations: 1.112 MB / 1.021 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.07326, allocations: 99.64 kB / 1.021 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.453e-05/0.07336, allocations: 20.05 kB / 1.021 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.07374, allocations: 23.97 kB / 1.021 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.07385, allocations: 35.94 kB / 1.022 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.07388, allocations: 12 kB / 1.022 GB, free: 408 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003641/0.07425, allocations: 286.9 kB / 1.022 GB, free: 120 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.07425, allocations: 7.875 kB / 1.022 GB, free: 112 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007689/0.07502, allocations: 168 kB / 1.022 GB, free: 15.94 MB / 0.9356 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.000196/0.07521, allocations: 115.1 kB / 1.022 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.07703, allocations: 0.9586 MB / 1.023 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.07704, allocations: 4 kB / 1.023 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.07817, allocations: 0.6719 MB / 1.024 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009458/0.07911, allocations: 183.9 kB / 1.024 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.08138, allocations: 1.212 MB / 1.025 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.08187, allocations: 354.1 kB / 1.025 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.0822, allocations: 112.8 kB / 1.025 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.08232, allocations: 36.5 kB / 1.026 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of SimCode: time 6.71e-07/0.08232, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of Templates: time 0.01759/0.09991, allocations: 9.046 MB / 1.034 GB, free: 3.34 MB / 0.9356 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: 8.392202351242304]