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.001707/0.001707, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002154/0.002154, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.051/3.051, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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="cs",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="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.001984/0.001984, allocations: 66.38 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.295, allocations: 176.1 MB / 1.327 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007596/0.3026, allocations: 5.362 MB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004483/0.3071, allocations: 2.635 MB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.3074, allocations: 31.69 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.3092, allocations: 0.6753 MB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008511/0.3101, allocations: 425.7 kB / 1.336 GB, free: 8.379 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009022/0.311, allocations: 413.8 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.312, allocations: 0.9672 MB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005493/0.3126, allocations: 382.5 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005113/0.3131, allocations: 394.5 kB / 1.338 GB, free: 6.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005736/0.3137, allocations: 426.3 kB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.363e-05/0.3138, allocations: 48 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005465/0.3143, allocations: 335.2 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.3146, allocations: 247.2 kB / 1.339 GB, free: 5.195 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.3149, allocations: 286.6 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.316, allocations: 0.9922 MB / 1.34 GB, free: 3.918 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.316, allocations: 4 kB / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.192e-06/0.316, allocations: 0 / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.316, allocations: 0 / 1.34 GB, free: 3.914 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.001579/0.3176, allocations: 0.913 MB / 1.341 GB, free: 2.969 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3176, allocations: 12.03 kB / 1.341 GB, free: 2.957 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.04e-05/0.3177, allocations: 13.19 kB / 1.341 GB, free: 2.945 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.3178, allocations: 106.6 kB / 1.341 GB, free: 2.832 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.3192, allocations: 196.3 kB / 1.341 GB, free: 2.641 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008135/0.32, allocations: 472.9 kB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.32, allocations: 33.38 kB / 1.342 GB, free: 2.125 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.3202, allocations: 72.17 kB / 1.342 GB, free: 2.055 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.3215, allocations: 0.9822 MB / 1.343 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.3215, allocations: 3.938 kB / 1.343 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.3216, allocations: 24 kB / 1.343 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/0.3218, allocations: 64.95 kB / 1.343 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009635/0.3228, allocations: 0.5697 MB / 1.343 GB, free: 296 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004342/0.3271, allocations: 3.585 MB / 1.347 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.3276, allocations: 283.2 kB / 1.347 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.3279, allocations: 213.3 kB / 1.347 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.328, allocations: 4.281 kB / 1.347 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.328, allocations: 38.84 kB / 1.347 GB, free: 12.02 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 5.059e-06/0.328, allocations: 4 kB / 1.347 GB, free: 12.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005728/0.3337, allocations: 2.334 MB / 1.349 GB, free: 9.629 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3338, allocations: 59.34 kB / 1.35 GB, free: 9.559 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/0.3343, allocations: 466 kB / 1.35 GB, free: 9.09 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.3344, allocations: 33.64 kB / 1.35 GB, free: 9.051 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.3346, allocations: 352.5 kB / 1.35 GB, free: 8.703 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.3348, allocations: 146.7 kB / 1.351 GB, free: 8.559 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.335, allocations: 102.3 kB / 1.351 GB, free: 8.453 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.3351, allocations: 366.8 kB / 1.351 GB, free: 8.086 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.3355, allocations: 237.2 kB / 1.351 GB, free: 7.855 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005153/0.336, allocations: 411.3 kB / 1.352 GB, free: 7.375 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009294/0.337, allocations: 0.674 MB / 1.352 GB, free: 6.629 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.337, allocations: 4 kB / 1.352 GB, free: 6.625 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001766/0.3387, allocations: 0.9249 MB / 1.353 GB, free: 5.684 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3388, allocations: 4 kB / 1.353 GB, free: 5.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.3388, allocations: 8 kB / 1.353 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008067/0.3396, allocations: 223 kB / 1.353 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/0.3401, allocations: 111.8 kB / 1.353 GB, free: 5.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/0.3456, allocations: 5.003 MB / 1.358 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.3462, allocations: 31.92 kB / 1.358 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.649e-05/0.3462, allocations: 20 kB / 1.358 GB, free: 15.94 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.000445/0.3467, allocations: 226.3 kB / 1.359 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.3468, allocations: 59.62 kB / 1.359 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.3484, allocations: 0.7696 MB / 1.359 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3484, allocations: 4 kB / 1.359 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3484, allocations: 0 / 1.359 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3484, allocations: 3.984 kB / 1.359 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.3509, allocations: 1.4 MB / 1.361 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.3509, allocations: 8 kB / 1.361 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.3513, allocations: 75.91 kB / 1.361 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000732/0.3521, allocations: 206.6 kB / 1.361 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.3521, allocations: 8 kB / 1.361 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00534/0.3575, allocations: 4.94 MB / 1.366 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.3575, allocations: 3.984 kB / 1.366 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.3594, allocations: 1.131 MB / 1.367 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.3596, allocations: 99.5 kB / 1.367 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/0.3597, allocations: 12 kB / 1.367 GB, free: 6.496 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.36, allocations: 23.97 kB / 1.367 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.3601, allocations: 31.94 kB / 1.367 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.3602, allocations: 16 kB / 1.367 GB, free: 6.426 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003779/0.3606, allocations: 322.8 kB / 1.368 GB, free: 6.113 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3606, allocations: 0 / 1.368 GB, free: 6.113 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006978/0.3613, allocations: 168.1 kB / 1.368 GB, free: 5.949 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.002204/0.3635, allocations: 1.689 MB / 1.369 GB, free: 4.199 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.3651, allocations: 0.9613 MB / 1.37 GB, free: 3.199 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3651, allocations: 0 / 1.37 GB, free: 3.199 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.3662, allocations: 0.6681 MB / 1.371 GB, free: 2.492 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009201/0.3671, allocations: 187.2 kB / 1.371 GB, free: 2.316 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008379/0.3755, allocations: 5.645 MB / 1.377 GB, free: 12.39 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.3759, allocations: 350.3 kB / 1.377 GB, free: 12.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003759/0.3763, allocations: 105 kB / 1.377 GB, free: 11.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.3766, allocations: 223.3 kB / 1.377 GB, free: 11.7 MB / 1.076 GB Notification: Performance of SimCode: time 8.81e-07/0.3766, allocations: 0 / 1.377 GB, free: 11.7 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04938/0.426, allocations: 15.52 MB / 1.392 GB, free: 12.59 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.44, allocations: 16.58 kB / 1.392 GB, free: 12.57 MB / 1.092 GB " [Timeout remaining time 286] (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: 20.075461335945874]