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.001298/0.001298, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001437/0.001437, allocations: 216.8 kB / 22.26 MB, free: 5.121 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.988 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.1/3.1, allocations: 0.49 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 177] 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.002038/0.002038, allocations: 59.41 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3029, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008072/0.311, allocations: 5.759 MB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004607/0.3156, allocations: 2.782 MB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004848/0.3161, allocations: 31.69 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.3181, allocations: 0.7142 MB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009739/0.3191, allocations: 417.8 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3201, allocations: 423 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.3212, allocations: 0.9632 MB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.3218, allocations: 386.4 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005359/0.3223, allocations: 382.7 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006066/0.3229, allocations: 438.3 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.323, allocations: 48 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006173/0.3236, allocations: 371.2 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.3239, allocations: 251.2 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003525/0.3242, allocations: 354.1 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.3254, allocations: 0.9728 MB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3254, allocations: 0 / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3254, allocations: 0 / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.3254, allocations: 0 / 1.34 GB, free: 3.641 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.001629/0.327, allocations: 0.9247 MB / 1.341 GB, free: 2.684 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3271, allocations: 8.031 kB / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.3272, allocations: 102.7 kB / 1.341 GB, free: 2.566 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.3285, allocations: 200.2 kB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008614/0.3294, allocations: 464.9 kB / 1.341 GB, free: 1.895 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.3294, allocations: 45.31 kB / 1.341 GB, free: 1.852 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.3296, allocations: 60.48 kB / 1.342 GB, free: 1.793 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.3308, allocations: 0.8355 MB / 1.342 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.3309, allocations: 7.984 kB / 1.342 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/0.3309, allocations: 16 kB / 1.342 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001886/0.3311, allocations: 68.95 kB / 1.342 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009316/0.332, allocations: 0.5735 MB / 1.343 GB, free: 208 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004791/0.3368, allocations: 4.505 MB / 1.347 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.3373, allocations: 275.3 kB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.3376, allocations: 209.3 kB / 1.348 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.3376, allocations: 4.281 kB / 1.348 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.3377, allocations: 38.84 kB / 1.348 GB, free: 10.83 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.3377, allocations: 0 / 1.348 GB, free: 10.83 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005533/0.3432, allocations: 2.338 MB / 1.35 GB, free: 8.438 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.3433, allocations: 55.41 kB / 1.35 GB, free: 8.371 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.3438, allocations: 470 kB / 1.351 GB, free: 7.898 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.3438, allocations: 33.7 kB / 1.351 GB, free: 7.859 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.3441, allocations: 356.4 kB / 1.351 GB, free: 7.508 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.3442, allocations: 150.7 kB / 1.351 GB, free: 7.359 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.3444, allocations: 102.3 kB / 1.351 GB, free: 7.254 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3446, allocations: 358.8 kB / 1.352 GB, free: 6.895 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.3449, allocations: 241.2 kB / 1.352 GB, free: 6.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.3455, allocations: 411.4 kB / 1.352 GB, free: 6.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009377/0.3464, allocations: 0.674 MB / 1.353 GB, free: 5.434 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3464, allocations: 15.88 kB / 1.353 GB, free: 5.418 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001801/0.3482, allocations: 0.9138 MB / 1.354 GB, free: 4.488 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3482, allocations: 8 kB / 1.354 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3482, allocations: 8.031 kB / 1.354 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008278/0.3491, allocations: 226.4 kB / 1.354 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/0.3496, allocations: 119.8 kB / 1.354 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005573/0.3552, allocations: 5.026 MB / 1.359 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.3556, allocations: 31.97 kB / 1.359 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.3557, allocations: 20 kB / 1.359 GB, free: 14.71 MB / 1.061 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.0003291/0.356, allocations: 222.2 kB / 1.359 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.937e-05/0.3561, allocations: 63.56 kB / 1.359 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.3577, allocations: 0.7658 MB / 1.36 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3577, allocations: 4 kB / 1.36 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3577, allocations: 4 kB / 1.36 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3577, allocations: 7.922 kB / 1.36 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.3603, allocations: 1.467 MB / 1.362 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3603, allocations: 3.938 kB / 1.362 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.3607, allocations: 63.95 kB / 1.362 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000682/0.3613, allocations: 202.5 kB / 1.362 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.3614, allocations: 19.98 kB / 1.362 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005354/0.3667, allocations: 4.967 MB / 1.367 GB, free: 6.465 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3667, allocations: 4.031 kB / 1.367 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.3687, allocations: 1.131 MB / 1.368 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.3689, allocations: 103.5 kB / 1.368 GB, free: 5.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.369, allocations: 15.98 kB / 1.368 GB, free: 5.164 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.3693, allocations: 23.97 kB / 1.368 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/0.3694, allocations: 36 kB / 1.368 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.3695, allocations: 12 kB / 1.368 GB, free: 5.094 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000381/0.3698, allocations: 314.9 kB / 1.368 GB, free: 4.789 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3698, allocations: 0 / 1.368 GB, free: 4.789 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006661/0.3705, allocations: 168 kB / 1.368 GB, free: 4.625 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.00231/0.3728, allocations: 1.696 MB / 1.37 GB, free: 2.867 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001721/0.3745, allocations: 0.9614 MB / 1.371 GB, free: 1.867 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3745, allocations: 0 / 1.371 GB, free: 1.867 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.3756, allocations: 0.6719 MB / 1.372 GB, free: 1.156 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000884/0.3765, allocations: 183.9 kB / 1.372 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00861/0.3851, allocations: 5.64 MB / 1.377 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.3857, allocations: 0.9454 MB / 1.378 GB, free: 10.08 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003723/0.3861, allocations: 117 kB / 1.378 GB, free: 9.965 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.3864, allocations: 215.4 kB / 1.379 GB, free: 9.754 MB / 1.076 GB Notification: Performance of SimCode: time 6.71e-07/0.3864, allocations: 0 / 1.379 GB, free: 9.754 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05645/0.4428, allocations: 14.76 MB / 1.393 GB, free: 11.28 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.28, allocations: 8.094 kB / 1.393 GB, free: 11.27 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.68057103618048]