Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001535/0.001535, allocations: 113 kB / 19.73 MB, free: 2.246 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.001708/0.001708, allocations: 213.4 kB / 23.04 MB, free: 5.078 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.754/2.754, allocations: 476.7 MB / 0.7714 GB, free: 4.359 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.001939/0.001939, allocations: 64.42 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2936, allocations: 170 MB / 1.284 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02838/0.322, allocations: 21.23 MB / 1.305 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.3337, allocations: 6.718 MB / 1.311 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.3357, allocations: 115.1 kB / 1.312 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006207/0.3419, allocations: 2.34 MB / 1.314 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.3454, allocations: 1.248 MB / 1.315 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.349, allocations: 1.314 MB / 1.316 GB, free: 10.8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00642/0.3554, allocations: 4.862 MB / 1.321 GB, free: 5.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005302/0.3607, allocations: 3.186 MB / 1.324 GB, free: 2.672 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003929/0.3646, allocations: 2.15 MB / 1.326 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004071/0.3687, allocations: 2.481 MB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008184/0.3695, allocations: 432 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.3717, allocations: 1.022 MB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001833/0.3735, allocations: 1.699 MB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00268/0.3762, allocations: 1.918 MB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008045/0.3842, allocations: 6.534 MB / 1.34 GB, free: 2.402 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3842, allocations: 0 / 1.34 GB, free: 2.402 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3842, allocations: 0 / 1.34 GB, free: 2.402 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001739/0.3844, allocations: 0 / 1.34 GB, free: 2.402 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008237/0.3926, allocations: 3.47 MB / 1.343 GB, free: 14.88 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3927, allocations: 8.031 kB / 1.343 GB, free: 14.88 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.939e-05/0.3928, allocations: 78.16 kB / 1.344 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007552/0.3935, allocations: 462.5 kB / 1.344 GB, free: 14.33 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/0.3969, allocations: 0.6545 MB / 1.345 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004105/0.401, allocations: 2.001 MB / 1.347 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.4012, allocations: 222.3 kB / 1.347 GB, free: 11.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000649/0.4019, allocations: 299.9 kB / 1.347 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008313/0.4102, allocations: 4.882 MB / 1.352 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.466e-05/0.4102, allocations: 11.94 kB / 1.352 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003175/0.4106, allocations: 124 kB / 1.352 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000437/0.411, allocations: 233.7 kB / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006648/0.4177, allocations: 3.754 MB / 1.356 GB, free: 1.906 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0261/0.4437, allocations: 21.23 MB / 1.377 GB, free: 10.67 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.4457, allocations: 1.234 MB / 1.378 GB, free: 9.426 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.4473, allocations: 0.9843 MB / 1.379 GB, free: 8.438 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-05/0.4473, allocations: 13 kB / 1.379 GB, free: 8.426 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.482e-05/0.4474, allocations: 43.56 kB / 1.379 GB, free: 8.371 MB / 1.076 GB Notification: Performance of pre-optimization done (n=107): time 2.996e-06/0.4474, allocations: 4 kB / 1.379 GB, free: 8.367 MB / 1.076 GB Notification: Performance of matching and sorting (n=138): time 0.02613/0.4735, allocations: 8.413 MB / 1.387 GB, free: 15.96 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.4736, allocations: 72.66 kB / 1.387 GB, free: 15.88 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.4753, allocations: 1.13 MB / 1.388 GB, free: 14.74 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.4754, allocations: 49.7 kB / 1.388 GB, free: 14.69 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009932/0.4764, allocations: 1.339 MB / 1.39 GB, free: 13.34 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004709/0.4769, allocations: 0.4919 MB / 1.39 GB, free: 12.84 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005109/0.4774, allocations: 295.4 kB / 1.39 GB, free: 12.54 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4775, allocations: 305.1 kB / 1.391 GB, free: 12.24 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.4789, allocations: 0.9174 MB / 1.391 GB, free: 11.32 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.4806, allocations: 1.322 MB / 1.393 GB, free: 9.832 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003257/0.4839, allocations: 2.43 MB / 1.395 GB, free: 7.23 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.4839, allocations: 0 / 1.395 GB, free: 7.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006296/0.4902, allocations: 3.441 MB / 1.399 GB, free: 3.77 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.4902, allocations: 14.81 kB / 1.399 GB, free: 3.758 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.4902, allocations: 12 kB / 1.399 GB, free: 3.746 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003306/0.4935, allocations: 1.178 MB / 1.4 GB, free: 2.562 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.4946, allocations: 259.5 kB / 1.4 GB, free: 2.309 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/0.5136, allocations: 13.55 MB / 1.413 GB, free: 4.41 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.5151, allocations: 91.97 kB / 1.413 GB, free: 4.32 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/0.5153, allocations: 64 kB / 1.413 GB, free: 4.258 MB / 1.108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002045/0.5174, allocations: 1.12 MB / 1.414 GB, free: 3.129 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/0.5178, allocations: 170.9 kB / 1.415 GB, free: 2.961 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006209/0.524, allocations: 3.126 MB / 1.418 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.524, allocations: 19.94 kB / 1.418 GB, free: 15.79 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.683e-05/0.524, allocations: 12 kB / 1.418 GB, free: 15.78 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.5241, allocations: 7.969 kB / 1.418 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.5363, allocations: 6.174 MB / 1.424 GB, free: 9.473 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.5363, allocations: 4 kB / 1.424 GB, free: 9.469 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006248/0.5369, allocations: 148.3 kB / 1.424 GB, free: 9.324 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003059/0.54, allocations: 1.078 MB / 1.425 GB, free: 8.238 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.5401, allocations: 24 kB / 1.425 GB, free: 8.215 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/0.5586, allocations: 13.25 MB / 1.438 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.5586, allocations: 7.938 kB / 1.438 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005716/0.5643, allocations: 3.116 MB / 1.441 GB, free: 7.422 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009376/0.5653, allocations: 358.8 kB / 1.441 GB, free: 7.07 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/0.5656, allocations: 27.98 kB / 1.441 GB, free: 7.043 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008771/0.5664, allocations: 83.91 kB / 1.441 GB, free: 6.961 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003587/0.5668, allocations: 136.6 kB / 1.441 GB, free: 6.824 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.5669, allocations: 36 kB / 1.442 GB, free: 6.789 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001218/0.5681, allocations: 0.7709 MB / 1.442 GB, free: 6.016 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5681, allocations: 4 kB / 1.442 GB, free: 6.012 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002166/0.5703, allocations: 0.6602 MB / 1.443 GB, free: 5.352 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005726/0.576, allocations: 3.705 MB / 1.447 GB, free: 1.547 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005004/0.581, allocations: 3.009 MB / 1.449 GB, free: 14.5 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.581, allocations: 4.125 kB / 1.449 GB, free: 14.5 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003039/0.5841, allocations: 1.873 MB / 1.451 GB, free: 12.59 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.5861, allocations: 0.4923 MB / 1.452 GB, free: 12.11 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03184/0.618, allocations: 19.21 MB / 1.471 GB, free: 8.312 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003265/0.6212, allocations: 2.336 MB / 1.473 GB, free: 5.949 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001079/0.6223, allocations: 350.1 kB / 1.473 GB, free: 5.602 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/0.6237, allocations: 1.011 MB / 1.474 GB, free: 4.59 MB / 1.17 GB Notification: Performance of SimCode: time 1.453e-06/0.6237, allocations: 0 / 1.474 GB, free: 4.59 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/0.7243, allocations: 54.2 MB / 1.527 GB, free: 15.03 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.54, allocations: 10.7 kB / 1.527 GB, free: 15.03 MB / 1.233 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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: 21.62971892999485]