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.001404/0.001404, allocations: 125 kB / 17.17 MB, free: 5.918 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.001487/0.001487, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.979/2.979, allocations: 0.5003 GB / 0.8026 GB, free: 6.746 MB / 0.6387 GB " [Timeout remaining time 176] 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.002139/0.002139, allocations: 63.89 kB / 1.165 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9642/0.9663, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01258/0.9789, allocations: 11.07 MB / 1.351 GB, free: 8.684 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01325/0.9921, allocations: 8.929 MB / 1.36 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.9942, allocations: 78.22 kB / 1.36 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004721/0.9989, allocations: 1.704 MB / 1.361 GB, free: 1.496 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005983/1.005, allocations: 1.551 MB / 1.363 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002704/1.008, allocations: 0.6762 MB / 1.364 GB, free: 228 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005919/1.013, allocations: 2.287 MB / 1.366 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00321/1.017, allocations: 1.094 MB / 1.367 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/1.02, allocations: 1.035 MB / 1.368 GB, free: 14.17 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/1.023, allocations: 1.069 MB / 1.369 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000721/1.023, allocations: 138.2 kB / 1.369 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/1.026, allocations: 0.8176 MB / 1.37 GB, free: 13.47 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001176/1.027, allocations: 0.582 MB / 1.37 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002456/1.03, allocations: 0.8827 MB / 1.371 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005668/1.036, allocations: 2.575 MB / 1.374 GB, free: 11.75 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.036, allocations: 0 / 1.374 GB, free: 11.75 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.084e-06/1.036, allocations: 0 / 1.374 GB, free: 11.75 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001107/1.036, allocations: 1.438 kB / 1.374 GB, free: 11.75 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.006203/1.042, allocations: 2.075 MB / 1.376 GB, free: 10.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.042, allocations: 9.438 kB / 1.376 GB, free: 10.39 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.23e-05/1.042, allocations: 32.53 kB / 1.376 GB, free: 10.39 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000541/1.043, allocations: 185.1 kB / 1.376 GB, free: 10.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/1.055, allocations: 2.065 MB / 1.378 GB, free: 10.13 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003771/1.059, allocations: 1.215 MB / 1.379 GB, free: 9.449 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/1.059, allocations: 88.22 kB / 1.379 GB, free: 9.406 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006266/1.059, allocations: 120.3 kB / 1.379 GB, free: 9.363 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007797/1.067, allocations: 2.474 MB / 1.382 GB, free: 8.363 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.421e-05/1.067, allocations: 11.77 kB / 1.382 GB, free: 8.355 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000328/1.068, allocations: 54.58 kB / 1.382 GB, free: 8.316 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004229/1.068, allocations: 132.6 kB / 1.382 GB, free: 8.301 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008608/1.077, allocations: 2.54 MB / 1.385 GB, free: 7.68 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01849/1.095, allocations: 10.05 MB / 1.394 GB, free: 188 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006875/1.102, allocations: 1.921 MB / 1.396 GB, free: 15.16 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003022/1.105, allocations: 0.9391 MB / 1.397 GB, free: 14.68 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.661e-05/1.105, allocations: 13.67 kB / 1.397 GB, free: 14.67 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/1.105, allocations: 38.06 kB / 1.397 GB, free: 14.62 MB / 1.092 GB Notification: Performance of pre-optimization done (n=53): time 2.605e-06/1.105, allocations: 3.938 kB / 1.397 GB, free: 14.62 MB / 1.092 GB Notification: Performance of matching and sorting (n=81): time 0.03442/1.14, allocations: 8.72 MB / 1.406 GB, free: 10.3 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/1.14, allocations: 63.53 kB / 1.406 GB, free: 10.24 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/1.142, allocations: 1.099 MB / 1.407 GB, free: 9.629 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002718/1.142, allocations: 40.95 kB / 1.407 GB, free: 9.586 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007994/1.143, allocations: 0.7594 MB / 1.408 GB, free: 8.91 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005079/1.144, allocations: 288.5 kB / 1.408 GB, free: 8.66 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000558/1.144, allocations: 199.1 kB / 1.408 GB, free: 8.547 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.144, allocations: 344 kB / 1.408 GB, free: 8.215 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003341/1.148, allocations: 1.078 MB / 1.409 GB, free: 7.66 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00352/1.151, allocations: 1.302 MB / 1.411 GB, free: 6.828 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00689/1.158, allocations: 2.386 MB / 1.413 GB, free: 5.414 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/1.158, allocations: 2.562 kB / 1.413 GB, free: 5.414 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0102/1.168, allocations: 3.257 MB / 1.416 GB, free: 3.637 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/1.168, allocations: 7.875 kB / 1.416 GB, free: 3.637 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/1.168, allocations: 10.06 kB / 1.416 GB, free: 3.633 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003167/1.172, allocations: 0.7849 MB / 1.417 GB, free: 3.203 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/1.174, allocations: 416.9 kB / 1.417 GB, free: 3.039 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/1.192, allocations: 15.93 MB / 1.433 GB, free: 4.633 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/1.195, allocations: 292.2 kB / 1.433 GB, free: 4.496 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/1.196, allocations: 50.31 kB / 1.433 GB, free: 4.48 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.001405/1.197, allocations: 396.9 kB / 1.434 GB, free: 4.195 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000685/1.198, allocations: 146.5 kB / 1.434 GB, free: 4.121 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.209, allocations: 3.181 MB / 1.437 GB, free: 2.281 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/1.209, allocations: 20 kB / 1.437 GB, free: 2.27 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-05/1.209, allocations: 7.531 kB / 1.437 GB, free: 2.27 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.468e-05/1.209, allocations: 5.391 kB / 1.437 GB, free: 2.266 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/1.224, allocations: 4.881 MB / 1.442 GB, free: 13.99 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-05/1.224, allocations: 4 kB / 1.442 GB, free: 13.98 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/1.226, allocations: 351.4 kB / 1.442 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002891/1.229, allocations: 0.6938 MB / 1.443 GB, free: 12.92 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002758/1.229, allocations: 31.97 kB / 1.443 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/1.247, allocations: 15.53 MB / 1.458 GB, free: 12.23 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.247, allocations: 4.031 kB / 1.458 GB, free: 12.23 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009138/1.256, allocations: 3.024 MB / 1.461 GB, free: 9.125 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.257, allocations: 392 kB / 1.461 GB, free: 8.723 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/1.258, allocations: 23.92 kB / 1.461 GB, free: 8.699 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/1.26, allocations: 287.5 kB / 1.462 GB, free: 8.418 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/1.26, allocations: 80.48 kB / 1.462 GB, free: 8.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.26, allocations: 35.97 kB / 1.462 GB, free: 8.305 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001193/1.261, allocations: 0.7444 MB / 1.462 GB, free: 7.559 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.261, allocations: 0 / 1.462 GB, free: 7.559 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002036/1.263, allocations: 431.9 kB / 1.463 GB, free: 7.137 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.009246/1.273, allocations: 3.595 MB / 1.466 GB, free: 3.457 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009457/1.282, allocations: 3.527 MB / 1.47 GB, free: 15.82 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/1.282, allocations: 0 / 1.47 GB, free: 15.82 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005615/1.288, allocations: 2.332 MB / 1.472 GB, free: 13.39 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/1.29, allocations: 0.5124 MB / 1.473 GB, free: 12.89 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03855/1.329, allocations: 15.81 MB / 1.488 GB, free: 12.65 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/1.33, allocations: 1.388 MB / 1.489 GB, free: 11.23 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001632/1.332, allocations: 379.8 kB / 1.49 GB, free: 10.85 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/1.333, allocations: 0.6008 MB / 1.49 GB, free: 10.25 MB / 1.17 GB Notification: Performance of SimCode: time 1.432e-06/1.333, allocations: 0 / 1.49 GB, free: 10.25 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/1.435, allocations: 41.82 MB / 1.531 GB, free: 1.035 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.37/16.81, allocations: 0 / 1.531 GB, free: 1.035 MB / 1.201 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.55608112498885]