Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.00151/0.00151, 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.002047/0.002047, allocations: 213.9 kB / 23.03 MB, free: 4.926 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.656/2.656, allocations: 476.8 MB / 0.7715 GB, free: 3.895 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_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.002015/0.002015, allocations: 65.89 kB / 1.118 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2924, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0415/0.3339, allocations: 33.73 MB / 1.317 GB, free: 8.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.3535, allocations: 11.52 MB / 1.328 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.3563, allocations: 206.5 kB / 1.328 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01131/0.3676, allocations: 4.265 MB / 1.333 GB, free: 8.809 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005674/0.3733, allocations: 2.092 MB / 1.335 GB, free: 6.707 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006219/0.3795, allocations: 2.41 MB / 1.337 GB, free: 4.301 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01029/0.3898, allocations: 8.461 MB / 1.345 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.4008, allocations: 6.227 MB / 1.351 GB, free: 5.473 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006175/0.407, allocations: 3.872 MB / 1.355 GB, free: 1.59 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007571/0.4145, allocations: 4.428 MB / 1.359 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002229/0.4168, allocations: 0.7773 MB / 1.36 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004646/0.4214, allocations: 1.911 MB / 1.362 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004444/0.4259, allocations: 3.133 MB / 1.365 GB, free: 7.316 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005295/0.4312, allocations: 2.751 MB / 1.368 GB, free: 4.555 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.446, allocations: 12.07 MB / 1.38 GB, free: 8.453 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.446, allocations: 0 / 1.38 GB, free: 8.453 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.004e-06/0.446, allocations: 3.938 kB / 1.38 GB, free: 8.449 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003109/0.4463, allocations: 0 / 1.38 GB, free: 8.449 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01281/0.4591, allocations: 5.863 MB / 1.385 GB, free: 2.523 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4592, allocations: 8.031 kB / 1.385 GB, free: 2.516 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001537/0.4593, allocations: 147.3 kB / 1.386 GB, free: 2.371 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001549/0.4609, allocations: 0.8128 MB / 1.386 GB, free: 1.547 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006091/0.4669, allocations: 1.086 MB / 1.387 GB, free: 468 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007426/0.4744, allocations: 3.423 MB / 1.391 GB, free: 12.97 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/0.4747, allocations: 411.5 kB / 1.391 GB, free: 12.57 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/0.4761, allocations: 0.5393 MB / 1.392 GB, free: 12.03 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/0.4941, allocations: 9.38 MB / 1.401 GB, free: 2.254 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001505/0.4943, allocations: 27.78 kB / 1.401 GB, free: 2.227 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006442/0.4949, allocations: 240 kB / 1.401 GB, free: 1.992 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004067/0.4953, allocations: 358.7 kB / 1.401 GB, free: 1.641 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.5083, allocations: 6.826 MB / 1.408 GB, free: 10.8 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0375/0.5457, allocations: 25.11 MB / 1.433 GB, free: 1.07 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003608/0.5494, allocations: 2.318 MB / 1.435 GB, free: 14.77 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002594/0.552, allocations: 1.763 MB / 1.437 GB, free: 13 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.816e-05/0.5521, allocations: 22 kB / 1.437 GB, free: 12.98 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.5521, allocations: 48.56 kB / 1.437 GB, free: 12.92 MB / 1.139 GB Notification: Performance of pre-optimization done (n=179): time 4.238e-06/0.5521, allocations: 0 / 1.437 GB, free: 12.92 MB / 1.139 GB Notification: Performance of matching and sorting (n=182): time 0.02462/0.5767, allocations: 9.702 MB / 1.446 GB, free: 3.203 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.5768, allocations: 77.41 kB / 1.446 GB, free: 3.113 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.5791, allocations: 1.523 MB / 1.448 GB, free: 1.547 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001954/0.5793, allocations: 53.7 kB / 1.448 GB, free: 1.488 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001658/0.5809, allocations: 2.331 MB / 1.45 GB, free: 15.13 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006698/0.5816, allocations: 0.6584 MB / 1.451 GB, free: 14.46 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000657/0.5823, allocations: 408.1 kB / 1.451 GB, free: 14.06 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5824, allocations: 309.1 kB / 1.451 GB, free: 13.75 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.5841, allocations: 1.176 MB / 1.452 GB, free: 12.57 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.5863, allocations: 1.881 MB / 1.454 GB, free: 10.38 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004221/0.5906, allocations: 3.371 MB / 1.458 GB, free: 6.695 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.5906, allocations: 8 kB / 1.458 GB, free: 6.688 MB / 1.154 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007771/0.5983, allocations: 4.535 MB / 1.462 GB, free: 2.129 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.5984, allocations: 12.19 kB / 1.462 GB, free: 2.117 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/0.5984, allocations: 28 kB / 1.462 GB, free: 2.09 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003864/0.6023, allocations: 1.582 MB / 1.464 GB, free: 0.5 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.6034, allocations: 351.4 kB / 1.464 GB, free: 160 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/0.6272, allocations: 17.94 MB / 1.481 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.629, allocations: 119.9 kB / 1.482 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/0.6292, allocations: 92 kB / 1.482 GB, free: 13.55 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003156/0.6324, allocations: 1.89 MB / 1.484 GB, free: 11.65 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000475/0.6329, allocations: 230.6 kB / 1.484 GB, free: 11.42 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007121/0.64, allocations: 4.051 MB / 1.488 GB, free: 7.344 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.64, allocations: 16 kB / 1.488 GB, free: 7.328 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.222e-05/0.6401, allocations: 24 kB / 1.488 GB, free: 7.305 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.6401, allocations: 15.95 kB / 1.488 GB, free: 7.289 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.6558, allocations: 8.654 MB / 1.496 GB, free: 14.48 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.6558, allocations: 4.25 kB / 1.496 GB, free: 14.48 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/0.6566, allocations: 183.7 kB / 1.496 GB, free: 14.3 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/0.6601, allocations: 1.355 MB / 1.498 GB, free: 12.93 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.6602, allocations: 32 kB / 1.498 GB, free: 12.9 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02197/0.6822, allocations: 16.74 MB / 1.514 GB, free: 11.71 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.6822, allocations: 8 kB / 1.514 GB, free: 11.7 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00688/0.6891, allocations: 4.036 MB / 1.518 GB, free: 7.574 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.6902, allocations: 474.4 kB / 1.519 GB, free: 7.109 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.6905, allocations: 36 kB / 1.519 GB, free: 7.074 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008977/0.6914, allocations: 87.89 kB / 1.519 GB, free: 6.988 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/0.6919, allocations: 169.5 kB / 1.519 GB, free: 6.82 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.692, allocations: 48 kB / 1.519 GB, free: 6.773 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001415/0.6934, allocations: 1.005 MB / 1.52 GB, free: 5.746 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6934, allocations: 0 / 1.52 GB, free: 5.746 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002832/0.6963, allocations: 0.9921 MB / 1.521 GB, free: 4.754 MB / 1.217 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007024/0.7033, allocations: 4.626 MB / 1.525 GB, free: 28 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007081/0.7104, allocations: 4.162 MB / 1.529 GB, free: 11.81 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.7104, allocations: 0 / 1.529 GB, free: 11.81 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004417/0.7148, allocations: 2.576 MB / 1.532 GB, free: 9.188 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/0.7181, allocations: 0.7887 MB / 1.533 GB, free: 8.426 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04471/0.7628, allocations: 27.02 MB / 1.559 GB, free: 12.32 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004674/0.7675, allocations: 3.035 MB / 1.562 GB, free: 9.238 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001366/0.7689, allocations: 459.9 kB / 1.562 GB, free: 8.785 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002303/0.7712, allocations: 1.792 MB / 1.564 GB, free: 6.992 MB / 1.264 GB Notification: Performance of SimCode: time 1.983e-06/0.7712, allocations: 0 / 1.564 GB, free: 6.992 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7076/1.479, allocations: 79.06 MB / 1.641 GB, free: 281.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.97, allocations: 14.27 kB / 1.641 GB, free: 281.4 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 24.596134686027654]