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.001795/0.001795, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002268/0.002268, allocations: 217.7 kB / 23.03 MB, free: 4.922 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.266/3.266, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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="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.001998/0.001998, allocations: 66.19 kB / 1.17 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3613, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01423/0.3755, allocations: 10.33 MB / 1.355 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01382/0.3893, allocations: 8.48 MB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.3907, allocations: 75.31 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00473/0.3954, allocations: 1.674 MB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004803/0.4002, allocations: 1.56 MB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.4021, allocations: 0.6772 MB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003524/0.4057, allocations: 2.283 MB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.4075, allocations: 1.16 MB / 1.371 GB, free: 5.617 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.4094, allocations: 1.032 MB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.4113, allocations: 1.07 MB / 1.373 GB, free: 3.508 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.4116, allocations: 140 kB / 1.373 GB, free: 3.371 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.4132, allocations: 0.7486 MB / 1.374 GB, free: 2.621 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007482/0.4139, allocations: 0.5724 MB / 1.374 GB, free: 2.047 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.415, allocations: 0.727 MB / 1.375 GB, free: 1.316 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003448/0.4184, allocations: 2.596 MB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4184, allocations: 0 / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4184, allocations: 0 / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.624e-05/0.4185, allocations: 7.938 kB / 1.378 GB, free: 14.7 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.003584/0.4221, allocations: 1.991 MB / 1.38 GB, free: 12.67 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.4221, allocations: 8.031 kB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.602e-05/0.4221, allocations: 38.52 kB / 1.38 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002344/0.4224, allocations: 186.1 kB / 1.38 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.4333, allocations: 2.055 MB / 1.382 GB, free: 10.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.4361, allocations: 1.145 MB / 1.383 GB, free: 9.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.022e-05/0.4362, allocations: 86.44 kB / 1.383 GB, free: 9.094 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/0.4365, allocations: 119.9 kB / 1.383 GB, free: 8.977 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006088/0.4426, allocations: 2.88 MB / 1.386 GB, free: 5.848 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/0.4426, allocations: 4 kB / 1.386 GB, free: 5.844 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.4428, allocations: 55.98 kB / 1.386 GB, free: 5.789 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003687/0.4431, allocations: 134 kB / 1.386 GB, free: 5.656 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007331/0.4505, allocations: 2.541 MB / 1.389 GB, free: 3.105 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.4639, allocations: 7.64 MB / 1.396 GB, free: 11.28 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006033/0.4699, allocations: 1.85 MB / 1.398 GB, free: 9.422 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/0.4727, allocations: 0.9408 MB / 1.399 GB, free: 8.48 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.4727, allocations: 4.438 kB / 1.399 GB, free: 8.477 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.4728, allocations: 42.94 kB / 1.399 GB, free: 8.426 MB / 1.092 GB Notification: Performance of pre-optimization done (n=53): time 3.396e-06/0.4728, allocations: 0 / 1.399 GB, free: 8.426 MB / 1.092 GB Notification: Performance of matching and sorting (n=81): time 0.03163/0.5044, allocations: 8.634 MB / 1.407 GB, free: 15.75 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.5045, allocations: 64 kB / 1.407 GB, free: 15.67 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.5061, allocations: 1.101 MB / 1.408 GB, free: 14.55 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.5062, allocations: 37.7 kB / 1.408 GB, free: 14.51 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006174/0.5069, allocations: 0.7667 MB / 1.409 GB, free: 13.74 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/0.5072, allocations: 289.5 kB / 1.409 GB, free: 13.45 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004175/0.5076, allocations: 202.5 kB / 1.41 GB, free: 13.25 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5077, allocations: 341.9 kB / 1.41 GB, free: 12.91 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002877/0.5106, allocations: 1.071 MB / 1.411 GB, free: 11.84 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00302/0.5136, allocations: 1.309 MB / 1.412 GB, free: 10.43 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005871/0.5195, allocations: 2.386 MB / 1.415 GB, free: 7.957 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.5195, allocations: 4 kB / 1.415 GB, free: 7.953 MB / 1.107 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008884/0.5284, allocations: 3.249 MB / 1.418 GB, free: 4.664 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.5284, allocations: 8 kB / 1.418 GB, free: 4.656 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.5285, allocations: 8.844 kB / 1.418 GB, free: 4.648 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/0.5314, allocations: 0.791 MB / 1.419 GB, free: 3.832 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/0.5333, allocations: 415.2 kB / 1.419 GB, free: 3.426 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/0.551, allocations: 14.99 MB / 1.434 GB, free: 3.516 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.5534, allocations: 291.5 kB / 1.434 GB, free: 3.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.5536, allocations: 56.03 kB / 1.434 GB, free: 3.176 MB / 1.123 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.0007991/0.5544, allocations: 397.4 kB / 1.434 GB, free: 2.777 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/0.5547, allocations: 151.1 kB / 1.434 GB, free: 2.629 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009051/0.5637, allocations: 3.179 MB / 1.438 GB, free: 15.41 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.5637, allocations: 8 kB / 1.438 GB, free: 15.4 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/0.5638, allocations: 8 kB / 1.438 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.5638, allocations: 3.984 kB / 1.438 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.5753, allocations: 4.628 MB / 1.442 GB, free: 10.65 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.5753, allocations: 8.062 kB / 1.442 GB, free: 10.64 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/0.577, allocations: 351.4 kB / 1.442 GB, free: 10.3 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002544/0.5795, allocations: 0.6896 MB / 1.443 GB, free: 9.586 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.5796, allocations: 31.97 kB / 1.443 GB, free: 9.555 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/0.5958, allocations: 14.62 MB / 1.457 GB, free: 10.02 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5958, allocations: 0 / 1.457 GB, free: 10.02 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008295/0.6041, allocations: 3.021 MB / 1.46 GB, free: 6.914 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.6051, allocations: 314.8 kB / 1.461 GB, free: 6.605 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000256/0.6053, allocations: 15.94 kB / 1.461 GB, free: 6.59 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/0.6071, allocations: 291.5 kB / 1.461 GB, free: 6.305 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002822/0.6074, allocations: 88.44 kB / 1.461 GB, free: 6.219 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.6075, allocations: 36.16 kB / 1.461 GB, free: 6.184 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001057/0.6086, allocations: 0.7405 MB / 1.462 GB, free: 5.441 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.6086, allocations: 0 / 1.462 GB, free: 5.441 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001522/0.6101, allocations: 435.9 kB / 1.462 GB, free: 5.016 MB / 1.154 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.008491/0.6186, allocations: 3.589 MB / 1.466 GB, free: 1.34 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.008764/0.6274, allocations: 3.519 MB / 1.469 GB, free: 13.71 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.6274, allocations: 0 / 1.469 GB, free: 13.71 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.005085/0.6324, allocations: 2.328 MB / 1.471 GB, free: 11.28 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.6349, allocations: 0.5235 MB / 1.472 GB, free: 10.77 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03534/0.6702, allocations: 15.83 MB / 1.487 GB, free: 10.51 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000978/0.6712, allocations: 0.802 MB / 1.488 GB, free: 9.668 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001421/0.6726, allocations: 379.9 kB / 1.489 GB, free: 9.293 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008868/0.6735, allocations: 0.6008 MB / 1.489 GB, free: 8.691 MB / 1.186 GB Notification: Performance of SimCode: time 1.442e-06/0.6735, allocations: 0 / 1.489 GB, free: 8.691 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/0.7748, allocations: 45.43 MB / 1.534 GB, free: 12.14 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.31/17.08, allocations: 11.09 kB / 1.534 GB, free: 12.13 MB / 1.232 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: 24.2469573559938]