Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001401/0.001401, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001491/0.001491, allocations: 193.3 kB / 22.11 MB, free: 5.156 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.395/1.395, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.117/3.117, allocations: 495.8 MB / 0.783 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.58 kB / 1.137 GB, free: 34.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.32, allocations: 173.6 MB / 1.307 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01434/0.3343, allocations: 11.24 MB / 1.318 GB, free: 6.695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.3494, allocations: 9.06 MB / 1.327 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.351, allocations: 75.31 kB / 1.327 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005046/0.356, allocations: 1.758 MB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005196/0.3612, allocations: 1.574 MB / 1.33 GB, free: 10.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.3632, allocations: 0.6734 MB / 1.331 GB, free: 9.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003156/0.3664, allocations: 2.279 MB / 1.333 GB, free: 7.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.3679, allocations: 0.9664 MB / 1.334 GB, free: 6.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.3695, allocations: 1.039 MB / 1.335 GB, free: 5.188 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.3712, allocations: 1.066 MB / 1.336 GB, free: 4.117 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.3714, allocations: 139.9 kB / 1.336 GB, free: 3.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.3729, allocations: 0.7447 MB / 1.337 GB, free: 3.234 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000589/0.3735, allocations: 0.5802 MB / 1.337 GB, free: 2.652 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009619/0.3745, allocations: 0.8823 MB / 1.338 GB, free: 1.766 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003223/0.3777, allocations: 2.576 MB / 1.341 GB, free: 15.18 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3777, allocations: 3.984 kB / 1.341 GB, free: 15.18 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3777, allocations: 0 / 1.341 GB, free: 15.18 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.543e-05/0.3777, allocations: 0 / 1.341 GB, free: 15.18 MB / 1.045 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.003532/0.3813, allocations: 1.995 MB / 1.343 GB, free: 13.14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3813, allocations: 12.03 kB / 1.343 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.3932, allocations: 2.055 MB / 1.345 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.3959, allocations: 1.137 MB / 1.346 GB, free: 9.883 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/0.396, allocations: 86.69 kB / 1.346 GB, free: 9.797 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/0.3963, allocations: 128 kB / 1.346 GB, free: 9.672 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005917/0.4022, allocations: 2.478 MB / 1.348 GB, free: 7.043 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.4022, allocations: 11.94 kB / 1.348 GB, free: 7.031 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.4024, allocations: 51.98 kB / 1.348 GB, free: 6.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003619/0.4028, allocations: 130.1 kB / 1.348 GB, free: 6.852 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00765/0.4104, allocations: 2.541 MB / 1.351 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01473/0.4251, allocations: 9.891 MB / 1.361 GB, free: 9.766 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006637/0.4318, allocations: 1.851 MB / 1.362 GB, free: 7.902 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002972/0.4347, allocations: 0.9386 MB / 1.363 GB, free: 6.961 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.4348, allocations: 8.422 kB / 1.363 GB, free: 6.953 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.4348, allocations: 43 kB / 1.363 GB, free: 6.902 MB / 1.061 GB Notification: Performance of pre-optimization done (n=53): time 3.206e-06/0.4348, allocations: 0 / 1.363 GB, free: 6.902 MB / 1.061 GB Notification: Performance of matching and sorting (n=81): time 0.03304/0.4679, allocations: 8.642 MB / 1.372 GB, free: 14.22 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.4679, allocations: 64 kB / 1.372 GB, free: 14.15 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.4696, allocations: 1.093 MB / 1.373 GB, free: 13.04 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.4697, allocations: 37.7 kB / 1.373 GB, free: 13 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006051/0.4703, allocations: 0.7512 MB / 1.374 GB, free: 12.24 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.4706, allocations: 297.4 kB / 1.374 GB, free: 11.95 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004289/0.471, allocations: 206.5 kB / 1.374 GB, free: 11.74 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.4712, allocations: 345.9 kB / 1.375 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003163/0.4744, allocations: 1.067 MB / 1.376 GB, free: 10.32 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003344/0.4777, allocations: 1.317 MB / 1.377 GB, free: 8.914 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006601/0.4843, allocations: 2.37 MB / 1.379 GB, free: 6.445 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4843, allocations: 4 kB / 1.379 GB, free: 6.441 MB / 1.076 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009416/0.4937, allocations: 3.254 MB / 1.382 GB, free: 3.152 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.4938, allocations: 8 kB / 1.382 GB, free: 3.145 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.4938, allocations: 12.06 kB / 1.382 GB, free: 3.133 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/0.4968, allocations: 0.7871 MB / 1.383 GB, free: 2.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/0.4988, allocations: 419.2 kB / 1.384 GB, free: 1.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01755/0.5163, allocations: 15.11 MB / 1.398 GB, free: 1.879 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/0.5188, allocations: 287.5 kB / 1.399 GB, free: 1.598 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.519, allocations: 55.91 kB / 1.399 GB, free: 1.543 MB / 1.092 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.0008243/0.5198, allocations: 400.6 kB / 1.399 GB, free: 1.145 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/0.5201, allocations: 147.1 kB / 1.399 GB, free: 1 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009367/0.5295, allocations: 3.175 MB / 1.402 GB, free: 13.78 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.5295, allocations: 8 kB / 1.402 GB, free: 13.77 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.5295, allocations: 8 kB / 1.402 GB, free: 13.77 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.5295, allocations: 11.92 kB / 1.402 GB, free: 13.75 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.5417, allocations: 4.85 MB / 1.407 GB, free: 8.781 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.5417, allocations: 7.984 kB / 1.407 GB, free: 8.773 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.5434, allocations: 347.5 kB / 1.407 GB, free: 8.434 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/0.5459, allocations: 0.7053 MB / 1.408 GB, free: 7.703 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.546, allocations: 27.97 kB / 1.408 GB, free: 7.676 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01647/0.5625, allocations: 14.73 MB / 1.422 GB, free: 8.027 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.5625, allocations: 4 kB / 1.422 GB, free: 8.023 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009113/0.5716, allocations: 3.024 MB / 1.425 GB, free: 4.918 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.5726, allocations: 310.9 kB / 1.426 GB, free: 4.613 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.5729, allocations: 19.89 kB / 1.426 GB, free: 4.594 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/0.5748, allocations: 295.4 kB / 1.426 GB, free: 4.305 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/0.5752, allocations: 88.62 kB / 1.426 GB, free: 4.219 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.5753, allocations: 43.97 kB / 1.426 GB, free: 4.176 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001208/0.5765, allocations: 0.7327 MB / 1.427 GB, free: 3.441 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5765, allocations: 0 / 1.427 GB, free: 3.441 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001713/0.5782, allocations: 436 kB / 1.427 GB, free: 3.016 MB / 1.123 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.0002917/0.5785, allocations: 127.1 kB / 1.427 GB, free: 2.883 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009885/0.5884, allocations: 3.511 MB / 1.431 GB, free: 15.27 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/0.5884, allocations: 0 / 1.431 GB, free: 15.27 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005709/0.5941, allocations: 2.328 MB / 1.433 GB, free: 12.84 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/0.597, allocations: 0.5266 MB / 1.434 GB, free: 12.33 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008587/0.6056, allocations: 3.499 MB / 1.437 GB, free: 8.773 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.6068, allocations: 1.392 MB / 1.438 GB, free: 7.344 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001493/0.6083, allocations: 375.9 kB / 1.439 GB, free: 6.973 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/0.6086, allocations: 99.38 kB / 1.439 GB, free: 6.875 MB / 1.139 GB Notification: Performance of SimCode: time 9.72e-07/0.6086, allocations: 0 / 1.439 GB, free: 6.875 MB / 1.139 GB Notification: Performance of Templates: time 0.05631/0.665, allocations: 31.49 MB / 1.47 GB, free: 7.789 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.76164775993675]