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.00122/0.00122, allocations: 97.31 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.001348/0.001348, allocations: 210.3 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.7959 GB, free: 35.5 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="cs",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="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.001948/0.001948, allocations: 66.2 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3354, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03887/0.3742, allocations: 33.64 MB / 1.359 GB, free: 15.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02532/0.3996, allocations: 10 MB / 1.369 GB, free: 5.707 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004939/0.4045, allocations: 190.6 kB / 1.369 GB, free: 5.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01284/0.4173, allocations: 3.817 MB / 1.373 GB, free: 1.695 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006522/0.4238, allocations: 2.142 MB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005338/0.4292, allocations: 1.971 MB / 1.377 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01054/0.4397, allocations: 7.964 MB / 1.385 GB, free: 5.582 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008653/0.4484, allocations: 5.284 MB / 1.39 GB, free: 180 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006284/0.4547, allocations: 3.49 MB / 1.394 GB, free: 12.68 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007142/0.4618, allocations: 3.937 MB / 1.397 GB, free: 8.727 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002321/0.4641, allocations: 0.6758 MB / 1.398 GB, free: 8.051 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004282/0.4684, allocations: 1.369 MB / 1.399 GB, free: 6.68 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004252/0.4727, allocations: 2.685 MB / 1.402 GB, free: 3.988 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005878/0.4785, allocations: 2.514 MB / 1.404 GB, free: 1.465 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.4927, allocations: 10.46 MB / 1.415 GB, free: 6.969 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.4927, allocations: 0 / 1.415 GB, free: 6.969 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4927, allocations: 0 / 1.415 GB, free: 6.969 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003571/0.4931, allocations: 0 / 1.415 GB, free: 6.969 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.01483/0.5079, allocations: 5.459 MB / 1.42 GB, free: 1.449 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.508, allocations: 12.03 kB / 1.42 GB, free: 1.438 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000159/0.5081, allocations: 129.8 kB / 1.42 GB, free: 1.309 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001852/0.51, allocations: 0.7022 MB / 1.421 GB, free: 0.5977 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005285/0.5153, allocations: 0.9889 MB / 1.422 GB, free: 15.61 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007045/0.5223, allocations: 3.132 MB / 1.425 GB, free: 12.41 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003665/0.5227, allocations: 357.9 kB / 1.425 GB, free: 12.05 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/0.5243, allocations: 464.3 kB / 1.426 GB, free: 11.6 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/0.5422, allocations: 8.678 MB / 1.434 GB, free: 2.375 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/0.5423, allocations: 23.77 kB / 1.434 GB, free: 2.352 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008429/0.5432, allocations: 208 kB / 1.434 GB, free: 2.148 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005663/0.5437, allocations: 369.1 kB / 1.435 GB, free: 1.785 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.5571, allocations: 5.937 MB / 1.44 GB, free: 11.83 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03499/0.5921, allocations: 23.74 MB / 1.464 GB, free: 3.414 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/0.5955, allocations: 1.983 MB / 1.466 GB, free: 1.418 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/0.5974, allocations: 1.345 MB / 1.467 GB, free: 76 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.238e-05/0.5974, allocations: 21.25 kB / 1.467 GB, free: 52 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.422e-05/0.5975, allocations: 55.91 kB / 1.467 GB, free: 15.98 MB / 1.17 GB Notification: Performance of pre-optimization done (n=157): time 4.458e-06/0.5975, allocations: 0 / 1.467 GB, free: 15.98 MB / 1.17 GB Notification: Performance of matching and sorting (n=160): time 0.01355/0.6111, allocations: 6.655 MB / 1.473 GB, free: 9.289 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.6111, allocations: 68.72 kB / 1.474 GB, free: 9.211 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/0.6138, allocations: 1.868 MB / 1.475 GB, free: 7.316 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.6139, allocations: 53.7 kB / 1.475 GB, free: 7.258 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/0.6155, allocations: 2.192 MB / 1.478 GB, free: 5.047 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005508/0.6161, allocations: 0.581 MB / 1.478 GB, free: 4.461 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006411/0.6167, allocations: 404 kB / 1.478 GB, free: 4.059 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6169, allocations: 305.1 kB / 1.479 GB, free: 3.758 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.6185, allocations: 1.066 MB / 1.48 GB, free: 2.688 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/0.6207, allocations: 1.76 MB / 1.482 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003991/0.6246, allocations: 3.049 MB / 1.485 GB, free: 13.25 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.6247, allocations: 7.938 kB / 1.485 GB, free: 13.24 MB / 1.186 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006682/0.6313, allocations: 3.902 MB / 1.488 GB, free: 9.289 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.6314, allocations: 17 kB / 1.488 GB, free: 9.273 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.6314, allocations: 20 kB / 1.488 GB, free: 9.254 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00251/0.6339, allocations: 0.9389 MB / 1.489 GB, free: 8.277 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.6355, allocations: 427.3 kB / 1.49 GB, free: 7.859 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/0.657, allocations: 21.39 MB / 1.511 GB, free: 1.094 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.6591, allocations: 123.9 kB / 1.511 GB, free: 0.9727 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/0.6593, allocations: 100.1 kB / 1.511 GB, free: 0.875 MB / 1.201 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.002782/0.6621, allocations: 1.653 MB / 1.512 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005539/0.6626, allocations: 266.4 kB / 1.513 GB, free: 14.95 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00545/0.6681, allocations: 3.228 MB / 1.516 GB, free: 11.67 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.6681, allocations: 16 kB / 1.516 GB, free: 11.65 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.6681, allocations: 8 kB / 1.516 GB, free: 11.64 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.6681, allocations: 7.969 kB / 1.516 GB, free: 11.64 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/0.6802, allocations: 7.17 MB / 1.523 GB, free: 4.324 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/0.6802, allocations: 4 kB / 1.523 GB, free: 4.32 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008995/0.6811, allocations: 219.6 kB / 1.523 GB, free: 4.105 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002331/0.6834, allocations: 0.8847 MB / 1.524 GB, free: 3.184 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.6835, allocations: 32 kB / 1.524 GB, free: 3.152 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02114/0.7047, allocations: 21.35 MB / 1.545 GB, free: 12.42 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.7047, allocations: 4 kB / 1.545 GB, free: 12.41 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005727/0.7104, allocations: 3.357 MB / 1.548 GB, free: 8.941 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.7116, allocations: 478.3 kB / 1.549 GB, free: 8.473 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/0.7119, allocations: 39.88 kB / 1.549 GB, free: 8.434 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009961/0.7129, allocations: 95.88 kB / 1.549 GB, free: 8.34 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004105/0.7133, allocations: 156.8 kB / 1.549 GB, free: 8.184 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.7134, allocations: 48 kB / 1.549 GB, free: 8.137 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001728/0.7151, allocations: 1.217 MB / 1.55 GB, free: 6.906 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7151, allocations: 4 kB / 1.55 GB, free: 6.902 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002726/0.7179, allocations: 0.9023 MB / 1.551 GB, free: 6 MB / 1.248 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.005535/0.7234, allocations: 3.963 MB / 1.555 GB, free: 1.918 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.006575/0.73, allocations: 4.302 MB / 1.559 GB, free: 13.46 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.679e-06/0.73, allocations: 0 / 1.559 GB, free: 13.46 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004231/0.7342, allocations: 2.902 MB / 1.562 GB, free: 10.4 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/0.7377, allocations: 0.833 MB / 1.563 GB, free: 9.586 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04268/0.7804, allocations: 25.23 MB / 1.587 GB, free: 15.25 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003445/0.7838, allocations: 2.669 MB / 1.59 GB, free: 12.55 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001662/0.7855, allocations: 0.5293 MB / 1.59 GB, free: 12.01 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/0.7875, allocations: 1.647 MB / 1.592 GB, free: 10.36 MB / 1.295 GB Notification: Performance of SimCode: time 1.082e-06/0.7875, allocations: 4 kB / 1.592 GB, free: 10.36 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8116/1.599, allocations: 75.3 MB / 1.666 GB, free: 225.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/17.3, allocations: 15.56 kB / 1.666 GB, free: 225.5 MB / 1.295 GB " [Timeout remaining time 283] (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: 24.828353165998124]