Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.00187/0.00187, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002323/0.002323, allocations: 209.5 kB / 23.04 MB, free: 5.07 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.086/3.086, allocations: 0.5003 GB / 0.8062 GB, free: 26.92 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.002006/0.002006, allocations: 60.56 kB / 1.171 GB, free: 19.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.366, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01426/0.3803, allocations: 11.32 MB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.3942, allocations: 9.146 MB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.3957, allocations: 79.31 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004765/0.4005, allocations: 1.749 MB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004974/0.4054, allocations: 1.566 MB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.4074, allocations: 0.6846 MB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003204/0.4106, allocations: 2.287 MB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/0.4123, allocations: 1.16 MB / 1.373 GB, free: 4.348 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.4142, allocations: 1.032 MB / 1.374 GB, free: 3.312 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.416, allocations: 1.066 MB / 1.375 GB, free: 2.242 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002204/0.4163, allocations: 140 kB / 1.375 GB, free: 2.105 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.4179, allocations: 0.8149 MB / 1.376 GB, free: 1.289 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005647/0.4185, allocations: 0.5802 MB / 1.376 GB, free: 0.707 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009529/0.4194, allocations: 0.8862 MB / 1.377 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003268/0.4227, allocations: 2.584 MB / 1.38 GB, free: 13.22 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4227, allocations: 0 / 1.38 GB, free: 13.22 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4227, allocations: 3.938 kB / 1.38 GB, free: 13.22 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.898e-05/0.4227, allocations: 0 / 1.38 GB, free: 13.22 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003539/0.4263, allocations: 1.995 MB / 1.382 GB, free: 11.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.4263, allocations: 8.031 kB / 1.382 GB, free: 11.18 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.841e-05/0.4264, allocations: 34.52 kB / 1.382 GB, free: 11.14 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002393/0.4266, allocations: 190.1 kB / 1.382 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.4379, allocations: 2.055 MB / 1.384 GB, free: 8.887 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.4408, allocations: 1.134 MB / 1.385 GB, free: 7.703 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.551e-05/0.4408, allocations: 90.45 kB / 1.385 GB, free: 7.613 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/0.4411, allocations: 120 kB / 1.385 GB, free: 7.496 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005759/0.4469, allocations: 2.478 MB / 1.388 GB, free: 4.867 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/0.4469, allocations: 11.89 kB / 1.388 GB, free: 4.855 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.4471, allocations: 48 kB / 1.388 GB, free: 4.809 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003586/0.4474, allocations: 130.1 kB / 1.388 GB, free: 4.68 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007454/0.4549, allocations: 2.541 MB / 1.39 GB, free: 2.129 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.4691, allocations: 9.922 MB / 1.4 GB, free: 7.555 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006297/0.4754, allocations: 1.861 MB / 1.402 GB, free: 5.684 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002873/0.4782, allocations: 0.9425 MB / 1.403 GB, free: 4.738 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.4783, allocations: 4.438 kB / 1.403 GB, free: 4.734 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.71e-05/0.4783, allocations: 39 kB / 1.403 GB, free: 4.684 MB / 1.092 GB Notification: Performance of pre-optimization done (n=53): time 4.619e-06/0.4783, allocations: 0 / 1.403 GB, free: 4.684 MB / 1.092 GB Notification: Performance of matching and sorting (n=81): time 0.03192/0.5103, allocations: 8.638 MB / 1.411 GB, free: 12.01 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.5103, allocations: 64 kB / 1.411 GB, free: 11.93 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.5122, allocations: 1.101 MB / 1.412 GB, free: 10.81 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.5123, allocations: 41.7 kB / 1.412 GB, free: 10.77 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006276/0.513, allocations: 0.759 MB / 1.413 GB, free: 10 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 0.000348/0.5133, allocations: 293.5 kB / 1.413 GB, free: 9.711 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004326/0.5137, allocations: 198.5 kB / 1.413 GB, free: 9.512 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.5139, allocations: 345.9 kB / 1.414 GB, free: 9.168 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00311/0.517, allocations: 1.071 MB / 1.415 GB, free: 8.094 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003251/0.5203, allocations: 1.309 MB / 1.416 GB, free: 6.691 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006346/0.5266, allocations: 2.386 MB / 1.418 GB, free: 4.215 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.5266, allocations: 0 / 1.418 GB, free: 4.215 MB / 1.108 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0096/0.5362, allocations: 3.25 MB / 1.422 GB, free: 0.9258 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.5362, allocations: 8 kB / 1.422 GB, free: 0.918 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.5363, allocations: 4 kB / 1.422 GB, free: 0.9141 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002815/0.5391, allocations: 0.7911 MB / 1.422 GB, free: 100 kB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.5411, allocations: 419.2 kB / 1.423 GB, free: 15.69 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/0.558, allocations: 15.1 MB / 1.438 GB, free: 15.66 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.5604, allocations: 287.5 kB / 1.438 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/0.5606, allocations: 55.95 kB / 1.438 GB, free: 15.32 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (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.0009274/0.5616, allocations: 401.5 kB / 1.438 GB, free: 14.92 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/0.562, allocations: 159 kB / 1.438 GB, free: 14.76 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009253/0.5712, allocations: 3.175 MB / 1.442 GB, free: 11.55 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.5712, allocations: 8 kB / 1.442 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.971e-05/0.5713, allocations: 8 kB / 1.442 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.5713, allocations: 3.984 kB / 1.442 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.5838, allocations: 4.842 MB / 1.446 GB, free: 6.574 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.5839, allocations: 4 kB / 1.446 GB, free: 6.57 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/0.5856, allocations: 355.4 kB / 1.447 GB, free: 6.223 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002496/0.5881, allocations: 0.6977 MB / 1.447 GB, free: 5.5 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.5882, allocations: 27.97 kB / 1.447 GB, free: 5.473 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/0.6058, allocations: 14.73 MB / 1.462 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/0.6058, allocations: 7.938 kB / 1.462 GB, free: 5.816 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008936/0.6148, allocations: 3.017 MB / 1.465 GB, free: 2.719 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.6158, allocations: 322.9 kB / 1.465 GB, free: 2.402 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/0.6162, allocations: 15.94 kB / 1.465 GB, free: 2.387 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/0.6183, allocations: 291.5 kB / 1.465 GB, free: 2.102 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/0.6186, allocations: 92.38 kB / 1.465 GB, free: 2.012 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.6187, allocations: 39.97 kB / 1.465 GB, free: 1.973 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001313/0.62, allocations: 0.7366 MB / 1.466 GB, free: 1.234 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.91e-07/0.62, allocations: 0 / 1.466 GB, free: 1.234 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001788/0.6218, allocations: 432 kB / 1.467 GB, free: 0.8125 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009114/0.6309, allocations: 3.593 MB / 1.47 GB, free: 13.13 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.009156/0.6401, allocations: 3.515 MB / 1.473 GB, free: 9.508 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.6401, allocations: 0 / 1.473 GB, free: 9.508 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.005315/0.6454, allocations: 2.324 MB / 1.476 GB, free: 7.082 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/0.6481, allocations: 0.5286 MB / 1.476 GB, free: 6.574 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03778/0.6859, allocations: 15.84 MB / 1.492 GB, free: 6.297 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/0.6875, allocations: 1.388 MB / 1.493 GB, free: 4.879 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001479/0.6889, allocations: 379.9 kB / 1.493 GB, free: 4.504 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009934/0.6899, allocations: 0.5969 MB / 1.494 GB, free: 3.906 MB / 1.186 GB Notification: Performance of SimCode: time 7.62e-07/0.6899, allocations: 0 / 1.494 GB, free: 3.906 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/0.8191, allocations: 42.73 MB / 1.536 GB, free: 9.758 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.37/17.19, allocations: 8.047 kB / 1.536 GB, free: 9.75 MB / 1.233 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 23.99036927096313]