Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001339/0.001339, 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.001722/0.001722, allocations: 217 kB / 22.26 MB, free: 5.125 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.984 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.091/3.091, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001962/0.001962, allocations: 68.58 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3658, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0462/0.412, allocations: 36.82 MB / 1.362 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02289/0.4349, allocations: 10.35 MB / 1.372 GB, free: 2.625 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004103/0.439, allocations: 190.6 kB / 1.372 GB, free: 2.438 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01116/0.4501, allocations: 3.985 MB / 1.376 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006348/0.4565, allocations: 2.138 MB / 1.378 GB, free: 12.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006032/0.4625, allocations: 2.029 MB / 1.38 GB, free: 10.27 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.4737, allocations: 7.976 MB / 1.388 GB, free: 2.262 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01119/0.4849, allocations: 5.284 MB / 1.393 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006696/0.4915, allocations: 3.467 MB / 1.396 GB, free: 9.379 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00756/0.4991, allocations: 3.933 MB / 1.4 GB, free: 5.434 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002628/0.5017, allocations: 0.6797 MB / 1.401 GB, free: 4.754 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004332/0.5061, allocations: 1.471 MB / 1.402 GB, free: 3.281 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004736/0.5108, allocations: 2.685 MB / 1.405 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.007244/0.518, allocations: 3.108 MB / 1.408 GB, free: 13.46 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.5327, allocations: 10.41 MB / 1.418 GB, free: 3.027 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5327, allocations: 0 / 1.418 GB, free: 3.027 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5327, allocations: 0 / 1.418 GB, free: 3.027 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003066/0.533, allocations: 3.938 kB / 1.418 GB, free: 3.023 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01497/0.548, allocations: 5.459 MB / 1.424 GB, free: 13.5 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.548, allocations: 8.031 kB / 1.424 GB, free: 13.5 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002159/0.5502, allocations: 0.7062 MB / 1.424 GB, free: 12.78 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005391/0.5556, allocations: 0.9889 MB / 1.425 GB, free: 11.79 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008062/0.5636, allocations: 3.136 MB / 1.428 GB, free: 8.586 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.564, allocations: 353.9 kB / 1.429 GB, free: 8.238 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00153/0.5655, allocations: 464.3 kB / 1.429 GB, free: 7.785 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01679/0.5823, allocations: 7.91 MB / 1.437 GB, free: 15.51 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.5824, allocations: 19.83 kB / 1.437 GB, free: 15.49 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007599/0.5832, allocations: 212 kB / 1.437 GB, free: 15.29 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005462/0.5837, allocations: 365.1 kB / 1.437 GB, free: 14.93 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/0.5956, allocations: 5.941 MB / 1.443 GB, free: 8.969 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04492/0.6405, allocations: 35.69 MB / 1.478 GB, free: 2.039 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003646/0.6441, allocations: 2.002 MB / 1.48 GB, free: 20 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.6462, allocations: 1.336 MB / 1.481 GB, free: 14.69 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.802e-05/0.6463, allocations: 17.31 kB / 1.481 GB, free: 14.67 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.6464, allocations: 55.81 kB / 1.481 GB, free: 14.61 MB / 1.186 GB Notification: Performance of pre-optimization done (n=157): time 3.517e-06/0.6464, allocations: 0 / 1.481 GB, free: 14.61 MB / 1.186 GB Notification: Performance of matching and sorting (n=160): time 0.01443/0.6608, allocations: 6.671 MB / 1.488 GB, free: 7.891 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.6609, allocations: 68.72 kB / 1.488 GB, free: 7.812 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/0.6637, allocations: 1.864 MB / 1.49 GB, free: 5.922 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002622/0.6639, allocations: 53.7 kB / 1.49 GB, free: 5.863 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.6657, allocations: 2.184 MB / 1.492 GB, free: 3.66 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006793/0.6663, allocations: 0.581 MB / 1.492 GB, free: 3.074 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006559/0.667, allocations: 412 kB / 1.493 GB, free: 2.664 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6671, allocations: 301.1 kB / 1.493 GB, free: 2.367 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.6688, allocations: 1.062 MB / 1.494 GB, free: 1.301 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.6711, allocations: 1.768 MB / 1.496 GB, free: 15.21 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004126/0.6752, allocations: 3.045 MB / 1.499 GB, free: 11.86 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.6752, allocations: 4 kB / 1.499 GB, free: 11.85 MB / 1.201 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006825/0.682, allocations: 3.914 MB / 1.503 GB, free: 7.891 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.6821, allocations: 16 kB / 1.503 GB, free: 7.875 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/0.6821, allocations: 20 kB / 1.503 GB, free: 7.855 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/0.6846, allocations: 0.9316 MB / 1.504 GB, free: 6.887 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.6862, allocations: 427.3 kB / 1.504 GB, free: 6.469 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/0.71, allocations: 21.54 MB / 1.525 GB, free: 15.56 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.7121, allocations: 123.9 kB / 1.525 GB, free: 15.44 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003902/0.7125, allocations: 99.92 kB / 1.525 GB, free: 15.34 MB / 1.232 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003275/0.7157, allocations: 1.653 MB / 1.527 GB, free: 13.68 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006657/0.7164, allocations: 266.4 kB / 1.527 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/0.7226, allocations: 3.24 MB / 1.53 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.7226, allocations: 16 kB / 1.53 GB, free: 10.11 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.76e-05/0.7226, allocations: 12 kB / 1.53 GB, free: 10.09 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.7226, allocations: 7.969 kB / 1.53 GB, free: 10.09 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/0.7384, allocations: 7.509 MB / 1.538 GB, free: 2.43 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.7384, allocations: 4 kB / 1.538 GB, free: 2.426 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009804/0.7394, allocations: 215.6 kB / 1.538 GB, free: 2.215 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002484/0.7419, allocations: 0.8883 MB / 1.539 GB, free: 1.289 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/0.742, allocations: 32 kB / 1.539 GB, free: 1.258 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02332/0.7653, allocations: 21.52 MB / 1.56 GB, free: 10.36 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.7653, allocations: 4 kB / 1.56 GB, free: 10.35 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006212/0.7715, allocations: 3.365 MB / 1.563 GB, free: 6.875 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/0.773, allocations: 478.2 kB / 1.564 GB, free: 6.406 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005658/0.7736, allocations: 43.88 kB / 1.564 GB, free: 6.363 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.7749, allocations: 87.89 kB / 1.564 GB, free: 6.277 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004079/0.7753, allocations: 144.9 kB / 1.564 GB, free: 6.133 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.7754, allocations: 48 kB / 1.564 GB, free: 6.086 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002178/0.7776, allocations: 1.225 MB / 1.565 GB, free: 4.848 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7776, allocations: 0 / 1.565 GB, free: 4.848 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003117/0.7807, allocations: 0.9023 MB / 1.566 GB, free: 3.945 MB / 1.264 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006269/0.787, allocations: 3.969 MB / 1.57 GB, free: 15.86 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007232/0.7942, allocations: 4.299 MB / 1.574 GB, free: 11.4 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/0.7942, allocations: 4 kB / 1.574 GB, free: 11.4 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00493/0.7991, allocations: 2.899 MB / 1.577 GB, free: 8.344 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004415/0.8035, allocations: 0.8372 MB / 1.578 GB, free: 7.52 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04225/0.8458, allocations: 25.23 MB / 1.602 GB, free: 13.18 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004081/0.8499, allocations: 3.205 MB / 1.605 GB, free: 9.941 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001774/0.8517, allocations: 0.5254 MB / 1.606 GB, free: 9.41 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/0.8539, allocations: 1.655 MB / 1.608 GB, free: 7.754 MB / 1.311 GB Notification: Performance of SimCode: time 1.072e-06/0.8539, allocations: 0 / 1.608 GB, free: 7.754 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8904/1.744, allocations: 72.62 MB / 1.679 GB, free: 241.3 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.51/18.26, allocations: 4.672 kB / 1.679 GB, free: 241.2 MB / 1.311 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 25.244559243088588]