Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 109.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.626/2.626, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 1.104 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3626, allocations: 168.7 MB / 1.269 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01528/0.3779, allocations: 11.05 MB / 1.28 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.3927, allocations: 8.904 MB / 1.288 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/0.3946, allocations: 55.69 kB / 1.288 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004981/0.3996, allocations: 1.688 MB / 1.29 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005257/0.4048, allocations: 1.574 MB / 1.291 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.407, allocations: 0.6705 MB / 1.292 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003684/0.4106, allocations: 2.285 MB / 1.294 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/0.4125, allocations: 1.099 MB / 1.295 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.4144, allocations: 1 MB / 1.296 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.4161, allocations: 1.074 MB / 1.297 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002327/0.4164, allocations: 136 kB / 1.298 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.4182, allocations: 0.8148 MB / 1.298 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006873/0.4189, allocations: 0.5802 MB / 1.299 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.4199, allocations: 0.8861 MB / 1.3 GB, free: 12.83 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.4235, allocations: 2.576 MB / 1.302 GB, free: 10.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.4235, allocations: 0 / 1.302 GB, free: 10.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4235, allocations: 0 / 1.302 GB, free: 10.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.759e-05/0.4235, allocations: 3.938 kB / 1.302 GB, free: 10.24 MB / 1.014 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.003692/0.4272, allocations: 2.086 MB / 1.304 GB, free: 8.098 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.4272, allocations: 12.03 kB / 1.304 GB, free: 8.086 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002485/0.4275, allocations: 190 kB / 1.305 GB, free: 7.891 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.4381, allocations: 2.055 MB / 1.307 GB, free: 5.832 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002853/0.4409, allocations: 1.225 MB / 1.308 GB, free: 4.551 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.151e-05/0.441, allocations: 90.69 kB / 1.308 GB, free: 4.461 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002483/0.4413, allocations: 119.9 kB / 1.308 GB, free: 4.344 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005531/0.4468, allocations: 2.474 MB / 1.31 GB, free: 1.719 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/0.4468, allocations: 7.938 kB / 1.31 GB, free: 1.711 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.447, allocations: 55.98 kB / 1.31 GB, free: 1.656 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003484/0.4473, allocations: 130.1 kB / 1.311 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006939/0.4543, allocations: 2.541 MB / 1.313 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.469, allocations: 10.03 MB / 1.323 GB, free: 4.289 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005768/0.4748, allocations: 1.923 MB / 1.325 GB, free: 2.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00252/0.4773, allocations: 0.9425 MB / 1.326 GB, free: 1.395 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.4774, allocations: 8.438 kB / 1.326 GB, free: 1.387 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.4774, allocations: 39 kB / 1.326 GB, free: 1.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 2.264e-06/0.4774, allocations: 0 / 1.326 GB, free: 1.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=81): time 0.03/0.5074, allocations: 8.721 MB / 1.334 GB, free: 8.551 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.5075, allocations: 64 kB / 1.334 GB, free: 8.477 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.5093, allocations: 1.093 MB / 1.335 GB, free: 7.367 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.5094, allocations: 41.7 kB / 1.335 GB, free: 7.32 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006818/0.5101, allocations: 0.7473 MB / 1.336 GB, free: 6.566 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/0.5104, allocations: 305.4 kB / 1.336 GB, free: 6.266 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004027/0.5108, allocations: 198.5 kB / 1.337 GB, free: 6.066 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002081/0.511, allocations: 341.9 kB / 1.337 GB, free: 5.727 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/0.5139, allocations: 1.075 MB / 1.338 GB, free: 4.648 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003173/0.5171, allocations: 1.301 MB / 1.339 GB, free: 3.254 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005994/0.5231, allocations: 2.386 MB / 1.342 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5231, allocations: 0 / 1.342 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00854/0.5316, allocations: 3.254 MB / 1.345 GB, free: 13.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.5317, allocations: 11.98 kB / 1.345 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.5317, allocations: 11.98 kB / 1.345 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/0.5345, allocations: 0.7798 MB / 1.346 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.5363, allocations: 419.2 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/0.5541, allocations: 15.94 MB / 1.361 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/0.5563, allocations: 287.6 kB / 1.362 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.5565, allocations: 51.95 kB / 1.362 GB, free: 10.86 MB / 1.076 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.0008446/0.5573, allocations: 398 kB / 1.362 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.5576, allocations: 155.1 kB / 1.362 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008427/0.566, allocations: 3.179 MB / 1.365 GB, free: 7.086 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.5661, allocations: 8 kB / 1.365 GB, free: 7.078 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.5661, allocations: 4 kB / 1.365 GB, free: 7.074 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.5661, allocations: 7.984 kB / 1.365 GB, free: 7.066 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.5773, allocations: 4.885 MB / 1.37 GB, free: 2.055 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.5773, allocations: 4 kB / 1.37 GB, free: 2.051 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.5788, allocations: 351.7 kB / 1.371 GB, free: 1.707 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002354/0.5812, allocations: 0.6936 MB / 1.371 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.45e-05/0.5813, allocations: 31.97 kB / 1.371 GB, free: 0.957 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01694/0.5982, allocations: 15.55 MB / 1.386 GB, free: 292 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.5982, allocations: 7.922 kB / 1.386 GB, free: 284 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008037/0.6062, allocations: 3.009 MB / 1.389 GB, free: 13.19 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.6072, allocations: 392 kB / 1.39 GB, free: 12.79 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.6075, allocations: 16 kB / 1.39 GB, free: 12.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/0.6093, allocations: 299.4 kB / 1.39 GB, free: 12.48 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/0.6095, allocations: 76.48 kB / 1.39 GB, free: 12.4 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.299e-05/0.6096, allocations: 39.97 kB / 1.39 GB, free: 12.36 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001057/0.6107, allocations: 0.7405 MB / 1.391 GB, free: 11.62 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6107, allocations: 4 kB / 1.391 GB, free: 11.62 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001473/0.6122, allocations: 432 kB / 1.391 GB, free: 11.2 MB / 1.107 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.008319/0.6205, allocations: 3.597 MB / 1.395 GB, free: 7.508 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008433/0.6289, allocations: 3.515 MB / 1.398 GB, free: 3.887 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.6289, allocations: 0 / 1.398 GB, free: 3.887 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005115/0.634, allocations: 2.325 MB / 1.401 GB, free: 1.457 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.6363, allocations: 0.5223 MB / 1.401 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03405/0.6704, allocations: 15.81 MB / 1.416 GB, free: 0.7188 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.6716, allocations: 1.392 MB / 1.418 GB, free: 15.29 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001526/0.6732, allocations: 375.8 kB / 1.418 GB, free: 14.92 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008914/0.6741, allocations: 0.6047 MB / 1.419 GB, free: 14.32 MB / 1.139 GB Notification: Performance of SimCode: time 1.423e-06/0.6741, allocations: 0 / 1.419 GB, free: 14.32 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/0.7919, allocations: 41.76 MB / 1.46 GB, free: 5.152 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.3, allocations: 8.078 kB / 1.46 GB, free: 5.148 MB / 1.17 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 21.508434067014605]