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.001407/0.001407, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001515/0.001515, allocations: 211.8 kB / 22.25 MB, free: 5.258 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.785 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.175/3.175, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_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.002054/0.002054, allocations: 71.84 kB / 1.186 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3488, allocations: 181.9 MB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01419/0.363, allocations: 10.34 MB / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0136/0.3766, allocations: 8.5 MB / 1.382 GB, free: 11.32 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.3783, allocations: 83.25 kB / 1.382 GB, free: 11.24 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004906/0.3832, allocations: 1.678 MB / 1.384 GB, free: 9.555 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004873/0.3881, allocations: 1.563 MB / 1.385 GB, free: 7.988 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.3901, allocations: 0.6774 MB / 1.386 GB, free: 7.312 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003261/0.3933, allocations: 2.279 MB / 1.388 GB, free: 5.023 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.3952, allocations: 1.145 MB / 1.389 GB, free: 3.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.3971, allocations: 1.184 MB / 1.39 GB, free: 2.652 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.3985, allocations: 0.9295 MB / 1.391 GB, free: 1.719 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002122/0.3987, allocations: 136 kB / 1.391 GB, free: 1.586 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.4002, allocations: 0.7369 MB / 1.392 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005518/0.4007, allocations: 0.5724 MB / 1.393 GB, free: 280 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008302/0.4016, allocations: 0.7114 MB / 1.393 GB, free: 15.56 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.4048, allocations: 2.58 MB / 1.396 GB, free: 12.97 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4048, allocations: 0 / 1.396 GB, free: 12.97 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4048, allocations: 4 kB / 1.396 GB, free: 12.96 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.972e-05/0.4049, allocations: 0 / 1.396 GB, free: 12.96 MB / 1.092 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.003477/0.4083, allocations: 1.987 MB / 1.398 GB, free: 10.94 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.4084, allocations: 11.97 kB / 1.398 GB, free: 10.93 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002411/0.4086, allocations: 190.1 kB / 1.398 GB, free: 10.73 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.4198, allocations: 2.051 MB / 1.4 GB, free: 8.676 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.4229, allocations: 1.126 MB / 1.401 GB, free: 7.5 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-05/0.423, allocations: 86.69 kB / 1.401 GB, free: 7.414 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/0.4233, allocations: 119.9 kB / 1.401 GB, free: 7.297 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006072/0.4293, allocations: 2.697 MB / 1.404 GB, free: 4.402 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/0.4294, allocations: 7.938 kB / 1.404 GB, free: 4.395 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.4295, allocations: 55.98 kB / 1.404 GB, free: 4.34 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003909/0.4299, allocations: 126.1 kB / 1.404 GB, free: 4.215 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007446/0.4374, allocations: 2.545 MB / 1.406 GB, free: 1.66 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.4509, allocations: 7.683 MB / 1.414 GB, free: 9.801 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006449/0.4573, allocations: 1.853 MB / 1.416 GB, free: 7.938 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002898/0.4602, allocations: 0.9503 MB / 1.417 GB, free: 6.984 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.4603, allocations: 4.438 kB / 1.417 GB, free: 6.98 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.4603, allocations: 42.98 kB / 1.417 GB, free: 6.93 MB / 1.107 GB Notification: Performance of pre-optimization done (n=53): time 2.735e-06/0.4603, allocations: 0 / 1.417 GB, free: 6.93 MB / 1.107 GB Notification: Performance of matching and sorting (n=81): time 0.03352/0.4938, allocations: 9.117 MB / 1.426 GB, free: 13.77 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.4939, allocations: 64 kB / 1.426 GB, free: 13.7 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.4956, allocations: 1.108 MB / 1.427 GB, free: 12.57 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.4957, allocations: 41.7 kB / 1.427 GB, free: 12.53 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000627/0.4963, allocations: 0.7551 MB / 1.428 GB, free: 11.77 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.4966, allocations: 293.4 kB / 1.428 GB, free: 11.48 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/0.497, allocations: 198.5 kB / 1.428 GB, free: 11.28 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4972, allocations: 345.9 kB / 1.428 GB, free: 10.93 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/0.5003, allocations: 1.087 MB / 1.429 GB, free: 9.844 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003258/0.5036, allocations: 1.317 MB / 1.431 GB, free: 8.438 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006427/0.51, allocations: 2.405 MB / 1.433 GB, free: 5.938 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/0.51, allocations: 4 kB / 1.433 GB, free: 5.934 MB / 1.123 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009451/0.5195, allocations: 3.285 MB / 1.436 GB, free: 2.609 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.5195, allocations: 8 kB / 1.436 GB, free: 2.602 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.5195, allocations: 8.844 kB / 1.436 GB, free: 2.594 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/0.5227, allocations: 0.8497 MB / 1.437 GB, free: 1.719 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/0.5248, allocations: 423.2 kB / 1.438 GB, free: 1.305 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/0.5423, allocations: 15.22 MB / 1.452 GB, free: 1.168 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.5446, allocations: 291.8 kB / 1.453 GB, free: 0.8828 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.5447, allocations: 51.97 kB / 1.453 GB, free: 0.832 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.0007713/0.5455, allocations: 397.5 kB / 1.453 GB, free: 444 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.5458, allocations: 151.1 kB / 1.453 GB, free: 292 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009252/0.555, allocations: 3.218 MB / 1.456 GB, free: 13.02 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.555, allocations: 8 kB / 1.456 GB, free: 13.02 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.5551, allocations: 8 kB / 1.456 GB, free: 13.01 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.5551, allocations: 3.984 kB / 1.456 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/0.5675, allocations: 4.682 MB / 1.461 GB, free: 8.211 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.5676, allocations: 0 / 1.461 GB, free: 8.211 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.5693, allocations: 359.7 kB / 1.461 GB, free: 7.859 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002811/0.5721, allocations: 0.7599 MB / 1.462 GB, free: 7.074 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/0.5723, allocations: 39.95 kB / 1.462 GB, free: 7.035 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01693/0.5892, allocations: 14.8 MB / 1.477 GB, free: 7.305 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.5892, allocations: 7.938 kB / 1.477 GB, free: 7.297 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008501/0.5977, allocations: 3.064 MB / 1.48 GB, free: 4.152 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009933/0.5987, allocations: 310.8 kB / 1.48 GB, free: 3.848 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.5989, allocations: 20.14 kB / 1.48 GB, free: 3.828 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/0.6008, allocations: 303.4 kB / 1.48 GB, free: 3.531 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.601, allocations: 92.36 kB / 1.48 GB, free: 3.441 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.904e-05/0.6011, allocations: 31.97 kB / 1.48 GB, free: 3.41 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001048/0.6022, allocations: 0.7405 MB / 1.481 GB, free: 2.668 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6022, allocations: 0 / 1.481 GB, free: 2.668 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001422/0.6036, allocations: 440 kB / 1.481 GB, free: 2.238 MB / 1.17 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.008902/0.6125, allocations: 3.636 MB / 1.485 GB, free: 14.52 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.009125/0.6216, allocations: 3.547 MB / 1.488 GB, free: 10.87 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.6217, allocations: 4 kB / 1.488 GB, free: 10.86 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005397/0.6271, allocations: 2.336 MB / 1.491 GB, free: 8.422 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.6295, allocations: 0.5363 MB / 1.491 GB, free: 7.91 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03842/0.6679, allocations: 16.24 MB / 1.507 GB, free: 7.238 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.6689, allocations: 0.806 MB / 1.508 GB, free: 6.391 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001493/0.6704, allocations: 375.8 kB / 1.508 GB, free: 6.02 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009021/0.6713, allocations: 0.6008 MB / 1.509 GB, free: 5.418 MB / 1.201 GB Notification: Performance of SimCode: time 1.022e-06/0.6713, allocations: 0 / 1.509 GB, free: 5.418 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/0.7835, allocations: 46.11 MB / 1.554 GB, free: 8.168 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.49, allocations: 12 kB / 1.554 GB, free: 8.156 MB / 1.248 GB " [Timeout remaining time 286] (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: 20.309262484312057]