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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.141/3.141, allocations: 0.4893 GB / 0.7884 GB, free: 33.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001984/0.001984, allocations: 67.31 kB / 1.145 GB, free: 30.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3569, allocations: 174.9 MB / 1.316 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008185/0.3651, allocations: 5.656 MB / 1.322 GB, free: 4.062 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005196/0.3703, allocations: 2.732 MB / 1.324 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.3707, allocations: 35.62 kB / 1.324 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.3727, allocations: 0.7035 MB / 1.325 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.3738, allocations: 425.7 kB / 1.325 GB, free: 168 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.3749, allocations: 403 kB / 1.326 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.3761, allocations: 0.9477 MB / 1.327 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005933/0.3767, allocations: 338.9 kB / 1.327 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.3772, allocations: 386.5 kB / 1.327 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.3778, allocations: 426.4 kB / 1.328 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.322e-05/0.3779, allocations: 48 kB / 1.328 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007514/0.3787, allocations: 375.2 kB / 1.328 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.3789, allocations: 259.2 kB / 1.328 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003985/0.3793, allocations: 350.2 kB / 1.329 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.3807, allocations: 0.9689 MB / 1.33 GB, free: 11.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3807, allocations: 3.938 kB / 1.33 GB, free: 11.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3807, allocations: 0 / 1.33 GB, free: 11.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.3807, allocations: 0 / 1.33 GB, free: 11.69 MB / 1.029 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.001802/0.3825, allocations: 0.9209 MB / 1.331 GB, free: 10.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3826, allocations: 8.031 kB / 1.331 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.384, allocations: 200.2 kB / 1.331 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008976/0.3849, allocations: 447.7 kB / 1.331 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.3849, allocations: 41.36 kB / 1.331 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.3851, allocations: 60.48 kB / 1.331 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.3864, allocations: 0.8357 MB / 1.332 GB, free: 9.059 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.3864, allocations: 3.938 kB / 1.332 GB, free: 9.055 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/0.3865, allocations: 23.98 kB / 1.332 GB, free: 9.031 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002136/0.3867, allocations: 64.95 kB / 1.332 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009469/0.3877, allocations: 0.5697 MB / 1.333 GB, free: 8.395 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00515/0.3928, allocations: 4.497 MB / 1.337 GB, free: 3.559 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.3933, allocations: 275.2 kB / 1.337 GB, free: 3.281 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.3937, allocations: 217.9 kB / 1.338 GB, free: 3.066 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.3937, allocations: 12.25 kB / 1.338 GB, free: 3.055 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.3937, allocations: 42.83 kB / 1.338 GB, free: 3.004 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.3937, allocations: 0 / 1.338 GB, free: 3.004 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.006095/0.3998, allocations: 2.331 MB / 1.34 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.3999, allocations: 55.41 kB / 1.34 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005705/0.4004, allocations: 462 kB / 1.34 GB, free: 96 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.4005, allocations: 33.7 kB / 1.34 GB, free: 56 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.4008, allocations: 352.5 kB / 1.341 GB, free: 15.71 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.4009, allocations: 146.7 kB / 1.341 GB, free: 15.56 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.4011, allocations: 102.3 kB / 1.341 GB, free: 15.46 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.4013, allocations: 362.8 kB / 1.341 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.4017, allocations: 241.2 kB / 1.342 GB, free: 14.86 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/0.4023, allocations: 407.3 kB / 1.342 GB, free: 14.38 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009851/0.4032, allocations: 0.6779 MB / 1.343 GB, free: 13.63 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.4032, allocations: 0 / 1.343 GB, free: 13.63 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001826/0.4051, allocations: 0.921 MB / 1.344 GB, free: 12.7 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.4051, allocations: 9.562 kB / 1.344 GB, free: 12.69 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.4051, allocations: 4.656 kB / 1.344 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008607/0.406, allocations: 222.4 kB / 1.344 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.4065, allocations: 111.8 kB / 1.344 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.4124, allocations: 5.038 MB / 1.349 GB, free: 6.965 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005507/0.413, allocations: 36.03 kB / 1.349 GB, free: 6.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.413, allocations: 24 kB / 1.349 GB, free: 6.906 MB / 1.045 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.0004144/0.4135, allocations: 221.6 kB / 1.349 GB, free: 6.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.4136, allocations: 63.55 kB / 1.349 GB, free: 6.617 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.4153, allocations: 0.7696 MB / 1.35 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4153, allocations: 4 kB / 1.35 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4153, allocations: 0 / 1.35 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4153, allocations: 0 / 1.35 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.418, allocations: 1.463 MB / 1.351 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.418, allocations: 0 / 1.351 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.4184, allocations: 67.88 kB / 1.351 GB, free: 4.215 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007495/0.4192, allocations: 210.6 kB / 1.352 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.4192, allocations: 8 kB / 1.352 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005503/0.4247, allocations: 4.975 MB / 1.356 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4247, allocations: 4.031 kB / 1.356 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.4267, allocations: 1.132 MB / 1.358 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.4269, allocations: 87.66 kB / 1.358 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.862e-05/0.427, allocations: 19.94 kB / 1.358 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.4273, allocations: 23.97 kB / 1.358 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/0.4274, allocations: 43.88 kB / 1.358 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.4275, allocations: 12 kB / 1.358 GB, free: 13.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003915/0.4279, allocations: 314.9 kB / 1.358 GB, free: 13 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4279, allocations: 3.938 kB / 1.358 GB, free: 12.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007316/0.4286, allocations: 168 kB / 1.358 GB, free: 12.83 MB / 1.061 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.0001731/0.4288, allocations: 115.7 kB / 1.358 GB, free: 12.71 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.4305, allocations: 0.9651 MB / 1.359 GB, free: 11.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4306, allocations: 4 kB / 1.359 GB, free: 11.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.4316, allocations: 0.6603 MB / 1.36 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009068/0.4325, allocations: 196.2 kB / 1.36 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.4347, allocations: 1.266 MB / 1.361 GB, free: 9.504 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.4354, allocations: 0.9532 MB / 1.362 GB, free: 8.523 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003193/0.4357, allocations: 109 kB / 1.362 GB, free: 8.418 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.4359, allocations: 39.42 kB / 1.362 GB, free: 8.379 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.4359, allocations: 8 kB / 1.362 GB, free: 8.371 MB / 1.061 GB Notification: Performance of Templates: time 0.01803/0.4539, allocations: 9.377 MB / 1.372 GB, free: 15.11 MB / 1.076 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: 9.210562878288329]