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.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.001294/0.001294, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.001667/0.001667, allocations: 219.8 kB / 23.05 MB, free: 5.074 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.849/2.849, allocations: 476.7 MB / 0.7715 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_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: 62.81 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3309, allocations: 170 MB / 1.284 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01626/0.3471, allocations: 11.32 MB / 1.295 GB, free: 452 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01709/0.3642, allocations: 9.153 MB / 1.304 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.3659, allocations: 79.31 kB / 1.304 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005149/0.3711, allocations: 1.731 MB / 1.306 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006057/0.3771, allocations: 1.573 MB / 1.307 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.3796, allocations: 0.6916 MB / 1.308 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004183/0.3838, allocations: 2.283 MB / 1.31 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/0.3864, allocations: 1.16 MB / 1.311 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.3889, allocations: 1.024 MB / 1.312 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002623/0.3915, allocations: 1.07 MB / 1.314 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006544/0.3922, allocations: 140 kB / 1.314 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.3946, allocations: 0.8228 MB / 1.314 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.3956, allocations: 0.5763 MB / 1.315 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.3975, allocations: 0.89 MB / 1.316 GB, free: 11.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004817/0.4023, allocations: 2.572 MB / 1.318 GB, free: 8.574 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4023, allocations: 7.938 kB / 1.318 GB, free: 8.566 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4023, allocations: 0 / 1.318 GB, free: 8.566 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001081/0.4024, allocations: 0 / 1.318 GB, free: 8.566 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.005174/0.4076, allocations: 1.991 MB / 1.32 GB, free: 6.535 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.4076, allocations: 12.02 kB / 1.32 GB, free: 6.523 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.992e-05/0.4077, allocations: 34.52 kB / 1.32 GB, free: 6.488 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004519/0.4081, allocations: 190.1 kB / 1.321 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/0.4198, allocations: 2.055 MB / 1.323 GB, free: 4.234 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/0.4228, allocations: 1.137 MB / 1.324 GB, free: 3.047 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.4229, allocations: 94.44 kB / 1.324 GB, free: 2.953 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005342/0.4235, allocations: 108 kB / 1.324 GB, free: 2.848 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0068/0.4303, allocations: 2.482 MB / 1.326 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-05/0.4303, allocations: 11.92 kB / 1.326 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/0.4306, allocations: 55.98 kB / 1.326 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003758/0.431, allocations: 130.1 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00804/0.439, allocations: 2.537 MB / 1.329 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01619/0.4552, allocations: 9.937 MB / 1.339 GB, free: 2.887 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006625/0.4618, allocations: 1.834 MB / 1.34 GB, free: 1.043 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003007/0.4648, allocations: 0.9454 MB / 1.341 GB, free: 100 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.923e-05/0.4649, allocations: 8.438 kB / 1.341 GB, free: 92 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.4649, allocations: 42.98 kB / 1.341 GB, free: 40 kB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 2.275e-06/0.4649, allocations: 0 / 1.341 GB, free: 40 kB / 1.029 GB Notification: Performance of matching and sorting (n=81): time 0.03317/0.4981, allocations: 8.638 MB / 1.35 GB, free: 7.363 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.4982, allocations: 67.94 kB / 1.35 GB, free: 7.281 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.4999, allocations: 1.105 MB / 1.351 GB, free: 6.16 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002137/0.5001, allocations: 41.7 kB / 1.351 GB, free: 6.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006276/0.5008, allocations: 0.7434 MB / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000401/0.5012, allocations: 293.5 kB / 1.352 GB, free: 5.074 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005438/0.5017, allocations: 202.5 kB / 1.352 GB, free: 4.867 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5019, allocations: 341.9 kB / 1.353 GB, free: 4.527 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003255/0.5051, allocations: 1.075 MB / 1.354 GB, free: 3.453 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003488/0.5086, allocations: 1.313 MB / 1.355 GB, free: 2.047 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006652/0.5153, allocations: 2.378 MB / 1.357 GB, free: 15.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.5153, allocations: 4 kB / 1.357 GB, free: 15.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009825/0.5251, allocations: 3.254 MB / 1.36 GB, free: 12.28 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.5252, allocations: 8 kB / 1.36 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.5252, allocations: 8 kB / 1.36 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002907/0.5281, allocations: 0.7992 MB / 1.361 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/0.5301, allocations: 419.3 kB / 1.362 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/0.5479, allocations: 15.1 MB / 1.376 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/0.5504, allocations: 295.6 kB / 1.377 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/0.5506, allocations: 51.97 kB / 1.377 GB, free: 10.66 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.0008754/0.5515, allocations: 394.3 kB / 1.377 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/0.5519, allocations: 155.1 kB / 1.377 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009393/0.5613, allocations: 3.175 MB / 1.38 GB, free: 6.906 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.5613, allocations: 8 kB / 1.38 GB, free: 6.898 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.652e-05/0.5613, allocations: 8 kB / 1.38 GB, free: 6.891 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.5613, allocations: 7.984 kB / 1.38 GB, free: 6.883 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.574, allocations: 4.846 MB / 1.385 GB, free: 1.918 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.574, allocations: 0 / 1.385 GB, free: 1.918 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/0.5758, allocations: 355.7 kB / 1.385 GB, free: 1.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002495/0.5783, allocations: 0.6935 MB / 1.386 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.5784, allocations: 31.97 kB / 1.386 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01687/0.5953, allocations: 14.73 MB / 1.401 GB, free: 1.164 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.5953, allocations: 4 kB / 1.401 GB, free: 1.16 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009032/0.6043, allocations: 3.017 MB / 1.403 GB, free: 14.06 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.6053, allocations: 310.8 kB / 1.404 GB, free: 13.76 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004328/0.6058, allocations: 19.94 kB / 1.404 GB, free: 13.74 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/0.608, allocations: 299.4 kB / 1.404 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/0.6083, allocations: 80.5 kB / 1.404 GB, free: 13.37 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.6084, allocations: 43.91 kB / 1.404 GB, free: 13.32 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001282/0.6097, allocations: 0.7405 MB / 1.405 GB, free: 12.58 MB / 1.107 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6097, allocations: 3.938 kB / 1.405 GB, free: 12.58 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002034/0.6117, allocations: 432 kB / 1.405 GB, free: 12.16 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.009368/0.6211, allocations: 3.593 MB / 1.409 GB, free: 8.473 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.009158/0.6303, allocations: 3.515 MB / 1.412 GB, free: 4.859 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.6303, allocations: 0 / 1.412 GB, free: 4.859 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005432/0.6357, allocations: 2.317 MB / 1.415 GB, free: 2.438 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/0.6384, allocations: 0.5255 MB / 1.415 GB, free: 1.934 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03881/0.6772, allocations: 15.85 MB / 1.431 GB, free: 1.645 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/0.6787, allocations: 1.38 MB / 1.432 GB, free: 236 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001746/0.6804, allocations: 379.9 kB / 1.432 GB, free: 15.85 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/0.6816, allocations: 0.5968 MB / 1.433 GB, free: 15.26 MB / 1.139 GB Notification: Performance of SimCode: time 1.442e-06/0.6817, allocations: 0 / 1.433 GB, free: 15.26 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/0.7897, allocations: 42.74 MB / 1.475 GB, free: 5.137 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/17.03, allocations: 10.36 kB / 1.475 GB, free: 5.133 MB / 1.17 GB " [Timeout remaining time 282] (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/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: 24.091996409988496]