Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00176/0.00176, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002359/0.002359, allocations: 221.6 kB / 22.25 MB, free: 5.102 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.793 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.114/3.114, allocations: 0.49 GB / 0.7951 GB, free: 35.67 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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.001993/0.001993, allocations: 73.62 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3803, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01461/0.3949, allocations: 10.35 MB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0143/0.4092, allocations: 8.503 MB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.4108, allocations: 91.25 kB / 1.344 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004728/0.4155, allocations: 1.675 MB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004935/0.4204, allocations: 1.567 MB / 1.348 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.4224, allocations: 0.6744 MB / 1.348 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003195/0.4256, allocations: 2.281 MB / 1.35 GB, free: 8.305 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.4274, allocations: 1.16 MB / 1.352 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/0.4296, allocations: 1.184 MB / 1.353 GB, free: 5.914 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.4313, allocations: 0.996 MB / 1.354 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.4316, allocations: 140 kB / 1.354 GB, free: 4.777 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.4333, allocations: 0.7447 MB / 1.355 GB, free: 4.031 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006107/0.4339, allocations: 0.5802 MB / 1.355 GB, free: 3.449 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008701/0.4348, allocations: 0.7076 MB / 1.356 GB, free: 2.738 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003257/0.438, allocations: 2.576 MB / 1.358 GB, free: 156 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.438, allocations: 0 / 1.358 GB, free: 156 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/0.438, allocations: 0 / 1.358 GB, free: 156 kB / 1.045 GB Notification: Performance of Transformations before backend: time 6.674e-05/0.4381, allocations: 0 / 1.358 GB, free: 156 kB / 1.045 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.004025/0.4421, allocations: 1.983 MB / 1.36 GB, free: 14.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.4422, allocations: 12.03 kB / 1.36 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002517/0.4424, allocations: 186.1 kB / 1.36 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.4531, allocations: 2.059 MB / 1.362 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.4557, allocations: 1.114 MB / 1.364 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.06e-05/0.4558, allocations: 86.69 kB / 1.364 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002825/0.4561, allocations: 123.9 kB / 1.364 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005605/0.4617, allocations: 2.693 MB / 1.366 GB, free: 7.598 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.4617, allocations: 11.89 kB / 1.366 GB, free: 7.586 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.4619, allocations: 51.98 kB / 1.366 GB, free: 7.535 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003527/0.4622, allocations: 142 kB / 1.367 GB, free: 7.395 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006928/0.4691, allocations: 2.537 MB / 1.369 GB, free: 4.848 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.4823, allocations: 7.683 MB / 1.377 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005854/0.4882, allocations: 1.846 MB / 1.378 GB, free: 11.13 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002633/0.4908, allocations: 0.9522 MB / 1.379 GB, free: 10.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.737e-05/0.4909, allocations: 8.438 kB / 1.379 GB, free: 10.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.4909, allocations: 39 kB / 1.379 GB, free: 10.12 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.285e-06/0.4909, allocations: 0 / 1.379 GB, free: 10.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03145/0.5224, allocations: 9.114 MB / 1.388 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.5224, allocations: 71.92 kB / 1.388 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.5239, allocations: 1.108 MB / 1.389 GB, free: 15.75 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.5241, allocations: 37.7 kB / 1.389 GB, free: 15.71 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.5247, allocations: 0.7551 MB / 1.39 GB, free: 14.95 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.525, allocations: 297.4 kB / 1.39 GB, free: 14.66 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.5254, allocations: 202.5 kB / 1.391 GB, free: 14.45 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5255, allocations: 345.9 kB / 1.391 GB, free: 14.11 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/0.5284, allocations: 1.079 MB / 1.392 GB, free: 13.03 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003066/0.5314, allocations: 1.325 MB / 1.393 GB, free: 11.61 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005984/0.5374, allocations: 2.397 MB / 1.396 GB, free: 9.117 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.5374, allocations: 0 / 1.396 GB, free: 9.117 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008986/0.5464, allocations: 3.297 MB / 1.399 GB, free: 5.781 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.5464, allocations: 8 kB / 1.399 GB, free: 5.773 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.5465, allocations: 8 kB / 1.399 GB, free: 5.766 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003153/0.5496, allocations: 0.8458 MB / 1.4 GB, free: 4.895 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.5514, allocations: 419.2 kB / 1.4 GB, free: 4.484 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/0.569, allocations: 15.2 MB / 1.415 GB, free: 4.367 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.5714, allocations: 299.6 kB / 1.415 GB, free: 4.074 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.5715, allocations: 51.91 kB / 1.415 GB, free: 4.023 MB / 1.107 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.0008317/0.5724, allocations: 395.2 kB / 1.416 GB, free: 3.629 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/0.5727, allocations: 151.1 kB / 1.416 GB, free: 3.48 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008738/0.5815, allocations: 3.222 MB / 1.419 GB, free: 220 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.5815, allocations: 8 kB / 1.419 GB, free: 212 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.5815, allocations: 8 kB / 1.419 GB, free: 204 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.5815, allocations: 3.984 kB / 1.419 GB, free: 200 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.5932, allocations: 4.682 MB / 1.424 GB, free: 11.4 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.5932, allocations: 4 kB / 1.424 GB, free: 11.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.5948, allocations: 351.4 kB / 1.424 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00289/0.5977, allocations: 0.7757 MB / 1.425 GB, free: 10.25 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.5978, allocations: 31.97 kB / 1.425 GB, free: 10.22 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01701/0.6149, allocations: 14.81 MB / 1.439 GB, free: 10.49 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.6149, allocations: 4 kB / 1.439 GB, free: 10.48 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008174/0.623, allocations: 3.064 MB / 1.442 GB, free: 7.328 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000997/0.624, allocations: 318.8 kB / 1.442 GB, free: 7.016 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.6243, allocations: 16.19 kB / 1.442 GB, free: 7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/0.626, allocations: 299.4 kB / 1.443 GB, free: 6.707 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/0.6263, allocations: 84.44 kB / 1.443 GB, free: 6.625 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.6264, allocations: 39.97 kB / 1.443 GB, free: 6.586 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001057/0.6275, allocations: 0.7366 MB / 1.444 GB, free: 5.848 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6275, allocations: 8 kB / 1.444 GB, free: 5.84 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00155/0.629, allocations: 440 kB / 1.444 GB, free: 5.41 MB / 1.139 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.008559/0.6376, allocations: 3.636 MB / 1.448 GB, free: 1.688 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008552/0.6462, allocations: 3.55 MB / 1.451 GB, free: 14.04 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.6462, allocations: 0 / 1.451 GB, free: 14.04 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005045/0.6512, allocations: 2.34 MB / 1.453 GB, free: 11.59 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.6537, allocations: 0.5238 MB / 1.454 GB, free: 11.09 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0366/0.6903, allocations: 16.25 MB / 1.47 GB, free: 10.4 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.6913, allocations: 0.802 MB / 1.47 GB, free: 9.559 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001429/0.6928, allocations: 383.8 kB / 1.471 GB, free: 9.18 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009771/0.6937, allocations: 0.6008 MB / 1.471 GB, free: 8.578 MB / 1.17 GB Notification: Performance of SimCode: time 1.212e-06/0.6937, allocations: 0 / 1.471 GB, free: 8.578 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/0.8056, allocations: 46.45 MB / 1.517 GB, free: 11.01 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.74, allocations: 7.516 kB / 1.517 GB, free: 11.01 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.542620513995644]