Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.001438/0.001438, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.001586/0.001586, allocations: 169.3 kB / 22.46 MB, free: 5.359 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.448/1.448, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.029/3.029, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.OnePhase.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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.615e-05, allocations: 6.219 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008244/0.00827, allocations: 5.231 MB / 1.005 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00522/0.01349, allocations: 2.572 MB / 1.008 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004645/0.01396, allocations: 31.69 kB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.01611, allocations: 0.6821 MB / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.01738, allocations: 437.3 kB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.01854, allocations: 408.6 kB / 1.009 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.01998, allocations: 0.9708 MB / 1.01 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000733/0.02072, allocations: 382.4 kB / 1.011 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.02175, allocations: 0.526 MB / 1.011 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007326/0.02248, allocations: 359 kB / 1.011 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.02262, allocations: 48 kB / 1.011 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007423/0.02336, allocations: 339.1 kB / 1.012 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003521/0.02372, allocations: 259.2 kB / 1.012 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.02413, allocations: 235.4 kB / 1.012 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.02561, allocations: 1.005 MB / 1.013 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.02561, allocations: 0 / 1.013 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.02561, allocations: 0 / 1.013 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.573e-05/0.02565, allocations: 4 kB / 1.013 GB, free: 9.789 MB / 0.9669 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.001983/0.02763, allocations: 0.9013 MB / 1.014 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.02767, allocations: 12.03 kB / 1.014 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.02916, allocations: 212.2 kB / 1.014 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/0.03006, allocations: 450.9 kB / 1.015 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/0.03011, allocations: 37.38 kB / 1.015 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.03028, allocations: 52.55 kB / 1.015 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.03172, allocations: 0.9789 MB / 1.016 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.03175, allocations: 12.12 kB / 1.016 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.885e-05/0.03182, allocations: 24.12 kB / 1.016 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000217/0.03204, allocations: 68.94 kB / 1.016 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009862/0.03302, allocations: 0.5658 MB / 1.016 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004408/0.03743, allocations: 3.476 MB / 1.02 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.03795, allocations: 279.2 kB / 1.02 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.03828, allocations: 209.3 kB / 1.02 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.03831, allocations: 8.219 kB / 1.02 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.03835, allocations: 34.84 kB / 1.02 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.03835, allocations: 0 / 1.02 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.00612/0.04447, allocations: 2.335 MB / 1.023 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.04452, allocations: 55.41 kB / 1.023 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.04508, allocations: 429.7 kB / 1.023 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/0.04513, allocations: 29.7 kB / 1.023 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.04545, allocations: 368.4 kB / 1.023 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.04558, allocations: 134.8 kB / 1.024 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.04578, allocations: 110.2 kB / 1.024 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.046, allocations: 362.7 kB / 1.024 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.04642, allocations: 241.2 kB / 1.024 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/0.047, allocations: 407.3 kB / 1.025 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.04803, allocations: 0.674 MB / 1.025 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.04803, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001885/0.04992, allocations: 0.9141 MB / 1.026 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.04994, allocations: 4 kB / 1.026 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.04995, allocations: 12 kB / 1.026 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008611/0.05081, allocations: 226.4 kB / 1.026 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/0.05136, allocations: 111.8 kB / 1.027 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005844/0.0572, allocations: 4.942 MB / 1.031 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.05766, allocations: 31.97 kB / 1.031 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.05771, allocations: 27.94 kB / 1.031 GB, free: 6.227 MB / 0.9825 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.000341/0.05806, allocations: 218.1 kB / 1.032 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.05816, allocations: 55.67 kB / 1.032 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.05985, allocations: 0.7691 MB / 1.032 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.05986, allocations: 4 kB / 1.032 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.05986, allocations: 4 kB / 1.032 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.05987, allocations: 7.922 kB / 1.032 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/0.06249, allocations: 1.318 MB / 1.034 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.06249, allocations: 8.031 kB / 1.034 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000424/0.06292, allocations: 67.89 kB / 1.034 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007547/0.06367, allocations: 202.4 kB / 1.034 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.06371, allocations: 12 kB / 1.034 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005663/0.06937, allocations: 4.868 MB / 1.039 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.06937, allocations: 7.969 kB / 1.039 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.07139, allocations: 1.112 MB / 1.04 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.07162, allocations: 91.72 kB / 1.04 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.269e-05/0.0717, allocations: 16.06 kB / 1.04 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.07205, allocations: 31.95 kB / 1.04 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.07217, allocations: 31.94 kB / 1.04 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.07221, allocations: 16 kB / 1.04 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003539/0.07256, allocations: 283.1 kB / 1.04 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.07256, allocations: 0 / 1.04 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007031/0.07326, allocations: 168 kB / 1.041 GB, free: 12.5 MB / 0.9981 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.0001838/0.07345, allocations: 115.1 kB / 1.041 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.07527, allocations: 0.9654 MB / 1.042 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.07527, allocations: 0 / 1.042 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.07636, allocations: 0.6617 MB / 1.042 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009218/0.07728, allocations: 176.2 kB / 1.042 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.0795, allocations: 1.208 MB / 1.044 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.07993, allocations: 346 kB / 1.044 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003313/0.08026, allocations: 112.8 kB / 1.044 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.08037, allocations: 36.5 kB / 1.044 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.08037, allocations: 0 / 1.044 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of Templates: time 0.01798/0.09835, allocations: 9.031 MB / 1.053 GB, free: 15.89 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.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.483227491378784]