Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001281/0.001281, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001558/0.001558, allocations: 217.3 kB / 23.04 MB, free: 5.07 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.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.2/3.2, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.95 kB / 1.171 GB, free: 19.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3647, allocations: 179 MB / 1.345 GB, free: 480 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008232/0.3729, allocations: 5.77 MB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004871/0.3778, allocations: 2.779 MB / 1.354 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.3781, allocations: 31.69 kB / 1.354 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.38, allocations: 0.708 MB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000965/0.3809, allocations: 429.7 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.382, allocations: 412.2 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.3833, allocations: 0.9555 MB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005792/0.3838, allocations: 386.5 kB / 1.357 GB, free: 4.969 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005338/0.3844, allocations: 382.6 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005926/0.385, allocations: 438.3 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.545e-05/0.385, allocations: 48 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007055/0.3857, allocations: 371.2 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.386, allocations: 251.2 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.3864, allocations: 350.2 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.3879, allocations: 0.9844 MB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3879, allocations: 0 / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3879, allocations: 4 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.3879, allocations: 0 / 1.359 GB, free: 2.172 MB / 1.045 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.001917/0.3899, allocations: 0.9247 MB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.3899, allocations: 12.03 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.416e-05/0.3899, allocations: 13.19 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.3901, allocations: 94.7 kB / 1.36 GB, free: 1.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.3915, allocations: 208.2 kB / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009488/0.3924, allocations: 460.9 kB / 1.361 GB, free: 416 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.3925, allocations: 41.36 kB / 1.361 GB, free: 376 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.3926, allocations: 64.28 kB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.3939, allocations: 0.8316 MB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.3939, allocations: 11.94 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.177e-05/0.394, allocations: 23.98 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/0.3942, allocations: 64.95 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009062/0.3951, allocations: 0.5736 MB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00482/0.3999, allocations: 4.489 MB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.4004, allocations: 282.1 kB / 1.367 GB, free: 9.617 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.4007, allocations: 213.3 kB / 1.367 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.4007, allocations: 288 / 1.367 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.4008, allocations: 42.83 kB / 1.367 GB, free: 9.355 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.4008, allocations: 0 / 1.367 GB, free: 9.355 MB / 1.061 GB Notification: Performance of matching and sorting (n=40): time 0.005551/0.4063, allocations: 2.338 MB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.4064, allocations: 59.34 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.4069, allocations: 462.1 kB / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.4069, allocations: 33.7 kB / 1.37 GB, free: 6.391 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.4072, allocations: 360.5 kB / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.4073, allocations: 138.8 kB / 1.371 GB, free: 5.895 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.4075, allocations: 110.2 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4077, allocations: 366.8 kB / 1.371 GB, free: 5.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.4081, allocations: 237.2 kB / 1.371 GB, free: 5.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.4086, allocations: 415.9 kB / 1.372 GB, free: 4.695 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.4095, allocations: 0.6779 MB / 1.372 GB, free: 3.945 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4095, allocations: 3.938 kB / 1.372 GB, free: 3.941 MB / 1.061 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001708/0.4112, allocations: 0.9136 MB / 1.373 GB, free: 3.012 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.4113, allocations: 11.98 kB / 1.373 GB, free: 3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4113, allocations: 4 kB / 1.373 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007949/0.4121, allocations: 226.6 kB / 1.374 GB, free: 2.766 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.4126, allocations: 115.8 kB / 1.374 GB, free: 2.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005524/0.4181, allocations: 5.038 MB / 1.379 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.4185, allocations: 27.97 kB / 1.379 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.4186, allocations: 24 kB / 1.379 GB, free: 13.22 MB / 1.076 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.0003239/0.4189, allocations: 225.6 kB / 1.379 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.419, allocations: 63.62 kB / 1.379 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.4205, allocations: 0.762 MB / 1.38 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4205, allocations: 4 kB / 1.38 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4205, allocations: 4 kB / 1.38 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4206, allocations: 3.984 kB / 1.38 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.4232, allocations: 1.463 MB / 1.381 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4232, allocations: 8.031 kB / 1.381 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.4235, allocations: 63.89 kB / 1.381 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006782/0.4242, allocations: 210.5 kB / 1.381 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.4242, allocations: 12 kB / 1.381 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005291/0.4295, allocations: 4.967 MB / 1.386 GB, free: 4.988 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4295, allocations: 0 / 1.386 GB, free: 4.988 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.4315, allocations: 1.139 MB / 1.387 GB, free: 3.801 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.4317, allocations: 103.6 kB / 1.387 GB, free: 3.699 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/0.4318, allocations: 15.98 kB / 1.387 GB, free: 3.684 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.4321, allocations: 23.97 kB / 1.387 GB, free: 3.66 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.396e-05/0.4322, allocations: 35.88 kB / 1.387 GB, free: 3.625 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.4322, allocations: 16 kB / 1.387 GB, free: 3.609 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003851/0.4326, allocations: 314.9 kB / 1.388 GB, free: 3.305 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4326, allocations: 0 / 1.388 GB, free: 3.305 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006892/0.4333, allocations: 172 kB / 1.388 GB, free: 3.137 MB / 1.076 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.00227/0.4356, allocations: 1.688 MB / 1.39 GB, free: 1.387 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.4374, allocations: 0.9657 MB / 1.391 GB, free: 392 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.4374, allocations: 0 / 1.391 GB, free: 392 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.4384, allocations: 0.672 MB / 1.391 GB, free: 15.67 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.4394, allocations: 182.7 kB / 1.391 GB, free: 15.5 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008376/0.4478, allocations: 5.65 MB / 1.397 GB, free: 9.57 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.4484, allocations: 0.9493 MB / 1.398 GB, free: 8.594 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003633/0.4488, allocations: 109 kB / 1.398 GB, free: 8.488 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/0.4491, allocations: 211.4 kB / 1.398 GB, free: 8.281 MB / 1.092 GB Notification: Performance of SimCode: time 9.32e-07/0.4491, allocations: 0 / 1.398 GB, free: 8.281 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04981/0.4989, allocations: 14.79 MB / 1.413 GB, free: 9.777 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.22, allocations: 4.062 kB / 1.413 GB, free: 9.773 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.15923391096294]