Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.001636/0.001636, 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.001925/0.001925, allocations: 192.5 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.643/1.643, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.712/2.712, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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.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_10_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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 64.12 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 160.8 MB / 1.218 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.009829/1.088, allocations: 5.757 MB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006662/1.095, allocations: 2.752 MB / 1.227 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/1.096, allocations: 34.25 kB / 1.227 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002575/1.098, allocations: 0.7044 MB / 1.227 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/1.1, allocations: 426 kB / 1.228 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/1.102, allocations: 415.8 kB / 1.228 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002304/1.105, allocations: 0.9577 MB / 1.229 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009465/1.105, allocations: 337.5 kB / 1.23 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/1.107, allocations: 386.8 kB / 1.23 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/1.108, allocations: 433.3 kB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002682/1.108, allocations: 48.81 kB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/1.109, allocations: 372.2 kB / 1.231 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005258/1.11, allocations: 254.1 kB / 1.231 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/1.111, allocations: 354.5 kB / 1.231 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002344/1.113, allocations: 0.9767 MB / 1.232 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.113, allocations: 0 / 1.232 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.805e-06/1.113, allocations: 0 / 1.232 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.296e-05/1.113, allocations: 0 / 1.232 GB, free: 9.09 MB / 0.9356 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.002718/1.116, allocations: 0.9962 MB / 1.233 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/1.116, allocations: 15.97 kB / 1.233 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/1.118, allocations: 200.2 kB / 1.233 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/1.119, allocations: 0.53 MB / 1.234 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/1.119, allocations: 41.3 kB / 1.234 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/1.119, allocations: 52.55 kB / 1.234 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/1.121, allocations: 0.8241 MB / 1.235 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/1.121, allocations: 7.938 kB / 1.235 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.917e-05/1.121, allocations: 31.97 kB / 1.235 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/1.121, allocations: 68.94 kB / 1.235 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/1.122, allocations: 0.5697 MB / 1.236 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005851/1.128, allocations: 4.562 MB / 1.24 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/1.129, allocations: 283.2 kB / 1.24 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/1.129, allocations: 213.9 kB / 1.24 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/1.129, allocations: 4.281 kB / 1.24 GB, free: 180 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/1.129, allocations: 34.84 kB / 1.24 GB, free: 136 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/1.129, allocations: 0 / 1.24 GB, free: 136 kB / 0.9356 GB Notification: Performance of matching and sorting (n=40): time 0.0065/1.135, allocations: 2.651 MB / 1.243 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/1.136, allocations: 59.41 kB / 1.243 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007552/1.136, allocations: 466 kB / 1.244 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/1.136, allocations: 29.7 kB / 1.244 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/1.137, allocations: 356.4 kB / 1.244 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/1.137, allocations: 150.7 kB / 1.244 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/1.137, allocations: 106.2 kB / 1.244 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002602/1.137, allocations: 366.8 kB / 1.245 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/1.138, allocations: 233.2 kB / 1.245 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/1.139, allocations: 415.3 kB / 1.245 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/1.14, allocations: 0.6779 MB / 1.246 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.14, allocations: 4 kB / 1.246 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002034/1.142, allocations: 0.9061 MB / 1.247 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/1.142, allocations: 16.11 kB / 1.247 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/1.142, allocations: 4 kB / 1.247 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009345/1.143, allocations: 226.3 kB / 1.247 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/1.143, allocations: 111.9 kB / 1.247 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007034/1.15, allocations: 5.34 MB / 1.252 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00065/1.151, allocations: 27.97 kB / 1.252 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/1.151, allocations: 24 kB / 1.252 GB, free: 3.25 MB / 0.9512 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.0004707/1.151, allocations: 225.6 kB / 1.253 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/1.152, allocations: 71.61 kB / 1.253 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/1.153, allocations: 0.7578 MB / 1.253 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/1.153, allocations: 7.984 kB / 1.253 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.153, allocations: 11.94 kB / 1.253 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.153, allocations: 0 / 1.253 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/1.156, allocations: 1.487 MB / 1.255 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/1.156, allocations: 4 kB / 1.255 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/1.157, allocations: 67.88 kB / 1.255 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007595/1.158, allocations: 202.6 kB / 1.255 GB, free: 304 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/1.158, allocations: 12.05 kB / 1.255 GB, free: 292 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006125/1.164, allocations: 5.287 MB / 1.26 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.164, allocations: 8.062 kB / 1.26 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/1.166, allocations: 1.124 MB / 1.261 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004071/1.166, allocations: 168.7 kB / 1.262 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.166, allocations: 19.92 kB / 1.262 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/1.167, allocations: 32.03 kB / 1.262 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/1.167, allocations: 35.88 kB / 1.262 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/1.167, allocations: 12 kB / 1.262 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004642/1.167, allocations: 314.9 kB / 1.262 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/1.167, allocations: 0 / 1.262 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008655/1.168, allocations: 164 kB / 1.262 GB, free: 8.656 MB / 0.9669 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.0002307/1.168, allocations: 125.2 kB / 1.262 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001934/1.17, allocations: 0.9689 MB / 1.263 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.841e-05/1.17, allocations: 8.125 kB / 1.263 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/1.171, allocations: 0.6602 MB / 1.264 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.173, allocations: 174.6 kB / 1.264 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/1.176, allocations: 1.294 MB / 1.265 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009432/1.177, allocations: 0.9532 MB / 1.266 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004525/1.177, allocations: 125 kB / 1.266 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/1.177, allocations: 35.44 kB / 1.266 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of SimCode: time 1.863e-06/1.177, allocations: 0 / 1.266 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of Templates: time 0.02138/1.199, allocations: 9.393 MB / 1.275 GB, free: 10.89 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.719821372069418]