Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001845/0.001845, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002252/0.002252, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.244/3.244, allocations: 0.4893 GB / 0.7944 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",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.002142/0.002142, allocations: 65.92 kB / 1.153 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3568, allocations: 176.1 MB / 1.325 GB, free: 2.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00812/0.3649, allocations: 5.36 MB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00486/0.3698, allocations: 2.642 MB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003293/0.3701, allocations: 31.69 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.372, allocations: 0.6884 MB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.3731, allocations: 421.7 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.3741, allocations: 419 kB / 1.334 GB, free: 8.734 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.3753, allocations: 0.9594 MB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006303/0.3759, allocations: 378.5 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005836/0.3765, allocations: 394.5 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005932/0.3771, allocations: 398.4 kB / 1.336 GB, free: 6.609 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.993e-05/0.3772, allocations: 51.94 kB / 1.336 GB, free: 6.559 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006609/0.3779, allocations: 331.2 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.3781, allocations: 255.2 kB / 1.337 GB, free: 5.984 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.3784, allocations: 282.7 kB / 1.337 GB, free: 5.707 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.3796, allocations: 0.9844 MB / 1.338 GB, free: 4.719 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/0.3796, allocations: 7.984 kB / 1.338 GB, free: 4.711 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3796, allocations: 0 / 1.338 GB, free: 4.711 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.3797, allocations: 0 / 1.338 GB, free: 4.711 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.001733/0.3814, allocations: 0.9131 MB / 1.339 GB, free: 3.766 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3814, allocations: 15.91 kB / 1.339 GB, free: 3.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.3816, allocations: 106.7 kB / 1.339 GB, free: 3.637 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.383, allocations: 196.3 kB / 1.339 GB, free: 3.445 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009829/0.3839, allocations: 464.9 kB / 1.34 GB, free: 2.969 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.384, allocations: 41.36 kB / 1.34 GB, free: 2.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.3842, allocations: 56.5 kB / 1.34 GB, free: 2.875 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.3855, allocations: 0.9822 MB / 1.341 GB, free: 1.766 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.3856, allocations: 7.938 kB / 1.341 GB, free: 1.758 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.3856, allocations: 23.92 kB / 1.341 GB, free: 1.734 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001941/0.3858, allocations: 68.95 kB / 1.341 GB, free: 1.668 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000952/0.3868, allocations: 0.5697 MB / 1.342 GB, free: 1.098 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004289/0.3911, allocations: 3.585 MB / 1.345 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.3916, allocations: 275.2 kB / 1.345 GB, free: 13.1 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.3919, allocations: 217.3 kB / 1.346 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.3919, allocations: 4.281 kB / 1.346 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3919, allocations: 30.84 kB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.946e-06/0.3919, allocations: 0 / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005772/0.3977, allocations: 2.346 MB / 1.348 GB, free: 10.44 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3978, allocations: 55.41 kB / 1.348 GB, free: 10.38 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005828/0.3983, allocations: 473.9 kB / 1.348 GB, free: 9.898 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.3984, allocations: 29.7 kB / 1.348 GB, free: 9.863 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.3987, allocations: 360.5 kB / 1.349 GB, free: 9.508 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.3988, allocations: 146.7 kB / 1.349 GB, free: 9.363 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.399, allocations: 106.2 kB / 1.349 GB, free: 9.254 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3992, allocations: 362.8 kB / 1.349 GB, free: 8.891 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.3995, allocations: 237.2 kB / 1.35 GB, free: 8.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.4001, allocations: 407.3 kB / 1.35 GB, free: 8.184 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009589/0.401, allocations: 0.6779 MB / 1.351 GB, free: 7.434 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.401, allocations: 4 kB / 1.351 GB, free: 7.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001755/0.4028, allocations: 0.9133 MB / 1.352 GB, free: 6.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4028, allocations: 8 kB / 1.352 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.4028, allocations: 4 kB / 1.352 GB, free: 6.488 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008164/0.4036, allocations: 231 kB / 1.352 GB, free: 6.254 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/0.4042, allocations: 111.8 kB / 1.352 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005678/0.4098, allocations: 5.011 MB / 1.357 GB, free: 0.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.4103, allocations: 31.97 kB / 1.357 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.4104, allocations: 20 kB / 1.357 GB, free: 0.7422 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.0003421/0.4107, allocations: 229.6 kB / 1.357 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4108, allocations: 63.56 kB / 1.357 GB, free: 460 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.4124, allocations: 0.7696 MB / 1.358 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4124, allocations: 7.938 kB / 1.358 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4124, allocations: 0 / 1.358 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4124, allocations: 0 / 1.358 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.4151, allocations: 1.4 MB / 1.359 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.4151, allocations: 7.984 kB / 1.359 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/0.4154, allocations: 67.89 kB / 1.359 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007024/0.4161, allocations: 202.6 kB / 1.36 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.4162, allocations: 11.98 kB / 1.36 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005319/0.4215, allocations: 4.936 MB / 1.364 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4215, allocations: 4.031 kB / 1.364 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.4234, allocations: 1.135 MB / 1.365 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.4237, allocations: 99.5 kB / 1.366 GB, free: 7.312 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/0.4238, allocations: 8 kB / 1.366 GB, free: 7.305 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.4241, allocations: 31.91 kB / 1.366 GB, free: 7.273 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.4242, allocations: 39.86 kB / 1.366 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.4242, allocations: 16 kB / 1.366 GB, free: 7.219 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003825/0.4246, allocations: 314.9 kB / 1.366 GB, free: 6.914 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4246, allocations: 0 / 1.366 GB, free: 6.914 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006975/0.4253, allocations: 168.1 kB / 1.366 GB, free: 6.75 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.0022/0.4275, allocations: 1.69 MB / 1.368 GB, free: 5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.4292, allocations: 0.9574 MB / 1.369 GB, free: 4.004 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4293, allocations: 0 / 1.369 GB, free: 4.004 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.4303, allocations: 0.672 MB / 1.369 GB, free: 3.293 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.4312, allocations: 186.2 kB / 1.37 GB, free: 3.121 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008398/0.4396, allocations: 5.642 MB / 1.375 GB, free: 13.19 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.44, allocations: 354.3 kB / 1.375 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003752/0.4404, allocations: 117 kB / 1.375 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.4407, allocations: 207.4 kB / 1.376 GB, free: 12.5 MB / 1.076 GB Notification: Performance of SimCode: time 1.041e-06/0.4407, allocations: 7.938 kB / 1.376 GB, free: 12.49 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/0.4975, allocations: 15.72 MB / 1.391 GB, free: 13.14 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.45, allocations: 15.88 kB / 1.391 GB, free: 13.14 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.318640143610537]