Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001861/0.001861, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002296/0.002296, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.753/2.753, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.89 kB / 1.104 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7386/0.7406, allocations: 168.7 MB / 1.269 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008308/0.7489, allocations: 5.614 MB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004885/0.7538, allocations: 2.666 MB / 1.277 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.7544, allocations: 23.81 kB / 1.277 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.7564, allocations: 0.6988 MB / 1.278 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.7575, allocations: 429.7 kB / 1.278 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.7585, allocations: 417.9 kB / 1.278 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001212/0.7598, allocations: 0.9512 MB / 1.279 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006795/0.7604, allocations: 376.3 kB / 1.28 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006149/0.761, allocations: 390.5 kB / 1.28 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006051/0.7617, allocations: 426.4 kB / 1.28 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.891e-05/0.7617, allocations: 48 kB / 1.28 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006476/0.7624, allocations: 379.2 kB / 1.281 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.7626, allocations: 247.3 kB / 1.281 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003541/0.763, allocations: 350.2 kB / 1.281 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.7642, allocations: 0.9844 MB / 1.282 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7642, allocations: 0 / 1.282 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7642, allocations: 0 / 1.282 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.7642, allocations: 0 / 1.282 GB, free: 7.234 MB / 0.9825 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.00174/0.766, allocations: 0.9923 MB / 1.283 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.766, allocations: 8.031 kB / 1.283 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.7661, allocations: 94.7 kB / 1.283 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.7675, allocations: 208.2 kB / 1.284 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009692/0.7685, allocations: 0.534 MB / 1.284 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.7685, allocations: 33.38 kB / 1.284 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.7686, allocations: 56.55 kB / 1.284 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.7698, allocations: 0.8277 MB / 1.285 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.7699, allocations: 11.94 kB / 1.285 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.7699, allocations: 24 kB / 1.285 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.7701, allocations: 64.94 kB / 1.285 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009327/0.771, allocations: 0.5696 MB / 1.286 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004842/0.7759, allocations: 4.578 MB / 1.29 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.7764, allocations: 279.8 kB / 1.29 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.7767, allocations: 213.3 kB / 1.291 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.7767, allocations: 4.281 kB / 1.291 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.7768, allocations: 34.78 kB / 1.291 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.7768, allocations: 0 / 1.291 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.00576/0.7825, allocations: 2.644 MB / 1.293 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.7826, allocations: 63.39 kB / 1.293 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000528/0.7831, allocations: 462 kB / 1.294 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.7831, allocations: 33.7 kB / 1.294 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.7834, allocations: 348.5 kB / 1.294 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.7835, allocations: 154.7 kB / 1.294 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.7837, allocations: 106.2 kB / 1.294 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.7839, allocations: 366.8 kB / 1.295 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.7843, allocations: 233 kB / 1.295 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.7848, allocations: 410.4 kB / 1.295 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000959/0.7858, allocations: 0.67 MB / 1.296 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7858, allocations: 4 kB / 1.296 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001811/0.7876, allocations: 0.9214 MB / 1.297 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.7876, allocations: 8 kB / 1.297 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.7876, allocations: 4 kB / 1.297 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008502/0.7884, allocations: 222.7 kB / 1.297 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.789, allocations: 119.7 kB / 1.297 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005712/0.7947, allocations: 5.352 MB / 1.302 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.7952, allocations: 27.97 kB / 1.302 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.474e-05/0.7953, allocations: 24 kB / 1.302 GB, free: 1.285 MB / 0.9981 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.0003722/0.7956, allocations: 225.7 kB / 1.303 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.7958, allocations: 63.61 kB / 1.303 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.7974, allocations: 0.7696 MB / 1.304 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.7974, allocations: 4 kB / 1.304 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.7974, allocations: 4 kB / 1.304 GB, free: 200 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.7974, allocations: 0 / 1.304 GB, free: 200 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.8002, allocations: 1.498 MB / 1.305 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.8002, allocations: 4 kB / 1.305 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.8006, allocations: 67.88 kB / 1.305 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007104/0.8013, allocations: 202.4 kB / 1.305 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.8014, allocations: 12 kB / 1.305 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00551/0.8069, allocations: 5.278 MB / 1.31 GB, free: 8.621 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8069, allocations: 0 / 1.31 GB, free: 8.621 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.8088, allocations: 1.124 MB / 1.312 GB, free: 7.449 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.8091, allocations: 180.7 kB / 1.312 GB, free: 7.254 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.07e-05/0.8092, allocations: 15.89 kB / 1.312 GB, free: 7.238 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.8095, allocations: 27.91 kB / 1.312 GB, free: 7.211 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/0.8096, allocations: 35.95 kB / 1.312 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.8097, allocations: 16 kB / 1.312 GB, free: 7.16 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003854/0.8101, allocations: 306.9 kB / 1.312 GB, free: 6.863 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.8101, allocations: 0 / 1.312 GB, free: 6.863 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007144/0.8108, allocations: 176 kB / 1.312 GB, free: 6.691 MB / 1.014 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.002233/0.813, allocations: 1.688 MB / 1.314 GB, free: 4.941 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.8147, allocations: 0.9542 MB / 1.315 GB, free: 3.949 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.8147, allocations: 0 / 1.315 GB, free: 3.949 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.8158, allocations: 0.6798 MB / 1.315 GB, free: 3.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008668/0.8166, allocations: 176.9 kB / 1.316 GB, free: 3.066 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008342/0.825, allocations: 5.632 MB / 1.321 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.8256, allocations: 0.9571 MB / 1.322 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003672/0.826, allocations: 117 kB / 1.322 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.8263, allocations: 211.4 kB / 1.322 GB, free: 11.84 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.8263, allocations: 0 / 1.322 GB, free: 11.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05235/0.8786, allocations: 14.31 MB / 1.336 GB, free: 13.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.26, allocations: 12.64 kB / 1.336 GB, free: 13.83 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.20578244002536]