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.002074/0.002074, allocations: 113.9 kB / 18.94 MB, free: 2.789 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.002576/0.002576, allocations: 190.2 kB / 22.23 MB, free: 5.227 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.457/1.457, allocations: 225.6 MB / 251 MB, free: 13.02 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.152/3.152, allocations: 496 MB / 0.7835 GB, free: 33.66 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.00201/0.00201, allocations: 61.17 kB / 1.138 GB, free: 33.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3359, allocations: 173.6 MB / 1.307 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01413/0.35, allocations: 11.32 MB / 1.318 GB, free: 6.395 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0202/0.3702, allocations: 9.114 MB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.3724, allocations: 79.31 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006314/0.3787, allocations: 1.749 MB / 1.329 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006991/0.3857, allocations: 1.566 MB / 1.331 GB, free: 9.852 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.3886, allocations: 0.6853 MB / 1.331 GB, free: 9.168 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004951/0.3935, allocations: 2.279 MB / 1.333 GB, free: 6.879 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.3957, allocations: 0.9625 MB / 1.334 GB, free: 5.883 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.3983, allocations: 1.035 MB / 1.335 GB, free: 4.844 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.4008, allocations: 1.066 MB / 1.336 GB, free: 3.773 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003615/0.4012, allocations: 140 kB / 1.337 GB, free: 3.637 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.4035, allocations: 0.8149 MB / 1.337 GB, free: 2.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008527/0.4043, allocations: 0.5802 MB / 1.338 GB, free: 2.238 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.4057, allocations: 0.89 MB / 1.339 GB, free: 1.344 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004825/0.4106, allocations: 2.576 MB / 1.341 GB, free: 14.76 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4106, allocations: 0 / 1.341 GB, free: 14.76 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4106, allocations: 0 / 1.341 GB, free: 14.76 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.927e-05/0.4106, allocations: 0 / 1.341 GB, free: 14.76 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.005064/0.4157, allocations: 2.003 MB / 1.343 GB, free: 12.71 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.4158, allocations: 16.92 kB / 1.343 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.4282, allocations: 2.051 MB / 1.345 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00349/0.4316, allocations: 1.134 MB / 1.346 GB, free: 9.461 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.4318, allocations: 86.7 kB / 1.346 GB, free: 9.375 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005608/0.4323, allocations: 124.1 kB / 1.347 GB, free: 9.254 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005767/0.4381, allocations: 2.484 MB / 1.349 GB, free: 6.621 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.22e-05/0.4382, allocations: 7.938 kB / 1.349 GB, free: 6.613 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.4383, allocations: 55.94 kB / 1.349 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003628/0.4387, allocations: 130.1 kB / 1.349 GB, free: 6.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006791/0.4455, allocations: 2.537 MB / 1.352 GB, free: 3.883 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0145/0.46, allocations: 9.922 MB / 1.361 GB, free: 9.316 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0057/0.4657, allocations: 1.853 MB / 1.363 GB, free: 7.449 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/0.4683, allocations: 0.9425 MB / 1.364 GB, free: 6.504 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.964e-05/0.4684, allocations: 4.438 kB / 1.364 GB, free: 6.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.4684, allocations: 42.98 kB / 1.364 GB, free: 6.449 MB / 1.061 GB Notification: Performance of pre-optimization done (n=53): time 2.715e-06/0.4684, allocations: 0 / 1.364 GB, free: 6.449 MB / 1.061 GB Notification: Performance of matching and sorting (n=81): time 0.03/0.4984, allocations: 8.63 MB / 1.373 GB, free: 13.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.4985, allocations: 60.06 kB / 1.373 GB, free: 13.71 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.5003, allocations: 1.105 MB / 1.374 GB, free: 12.59 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.5004, allocations: 33.7 kB / 1.374 GB, free: 12.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006767/0.5011, allocations: 0.7551 MB / 1.374 GB, free: 11.79 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/0.5015, allocations: 297.5 kB / 1.375 GB, free: 11.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004079/0.5019, allocations: 206.5 kB / 1.375 GB, free: 11.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.502, allocations: 341.9 kB / 1.375 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/0.505, allocations: 1.075 MB / 1.376 GB, free: 9.871 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002958/0.5079, allocations: 1.313 MB / 1.378 GB, free: 8.465 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005606/0.5135, allocations: 2.374 MB / 1.38 GB, free: 5.992 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.5135, allocations: 4 kB / 1.38 GB, free: 5.988 MB / 1.076 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008552/0.5221, allocations: 3.25 MB / 1.383 GB, free: 2.703 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.5221, allocations: 9.875 kB / 1.383 GB, free: 2.695 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.5221, allocations: 8 kB / 1.383 GB, free: 2.688 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00285/0.525, allocations: 0.7873 MB / 1.384 GB, free: 1.875 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.5268, allocations: 419.3 kB / 1.384 GB, free: 1.465 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/0.5446, allocations: 15.12 MB / 1.399 GB, free: 1.43 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/0.5469, allocations: 287.5 kB / 1.399 GB, free: 1.148 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.547, allocations: 52.03 kB / 1.399 GB, free: 1.098 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.0008207/0.5478, allocations: 402.2 kB / 1.4 GB, free: 0.6953 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.5481, allocations: 151.1 kB / 1.4 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008483/0.5566, allocations: 3.179 MB / 1.403 GB, free: 13.32 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.5566, allocations: 11.94 kB / 1.403 GB, free: 13.31 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.5566, allocations: 8 kB / 1.403 GB, free: 13.3 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.5566, allocations: 3.984 kB / 1.403 GB, free: 13.3 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.5676, allocations: 4.85 MB / 1.408 GB, free: 8.328 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.5676, allocations: 11.88 kB / 1.408 GB, free: 8.316 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.5691, allocations: 351.4 kB / 1.408 GB, free: 7.973 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/0.5716, allocations: 0.7017 MB / 1.409 GB, free: 7.246 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.745e-05/0.5717, allocations: 27.97 kB / 1.409 GB, free: 7.219 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/0.5877, allocations: 14.71 MB / 1.423 GB, free: 7.59 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.5877, allocations: 4.125 kB / 1.423 GB, free: 7.586 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00784/0.5956, allocations: 3.024 MB / 1.426 GB, free: 4.48 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000857/0.5964, allocations: 318.9 kB / 1.426 GB, free: 4.168 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.5966, allocations: 20 kB / 1.426 GB, free: 4.148 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.5983, allocations: 299.4 kB / 1.427 GB, free: 3.855 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.5986, allocations: 84.42 kB / 1.427 GB, free: 3.773 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-05/0.5987, allocations: 35.97 kB / 1.427 GB, free: 3.738 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00104/0.5997, allocations: 0.7444 MB / 1.428 GB, free: 2.992 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.5997, allocations: 0 / 1.428 GB, free: 2.992 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001447/0.6012, allocations: 432 kB / 1.428 GB, free: 2.57 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.0002452/0.6014, allocations: 127.1 kB / 1.428 GB, free: 2.438 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.008237/0.6097, allocations: 3.515 MB / 1.432 GB, free: 14.82 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.6097, allocations: 0 / 1.432 GB, free: 14.82 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.004897/0.6146, allocations: 2.32 MB / 1.434 GB, free: 12.39 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/0.6169, allocations: 0.5205 MB / 1.434 GB, free: 11.89 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007731/0.6246, allocations: 3.496 MB / 1.438 GB, free: 8.332 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.6258, allocations: 1.399 MB / 1.439 GB, free: 6.895 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001424/0.6273, allocations: 379.8 kB / 1.44 GB, free: 6.52 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/0.6276, allocations: 107.4 kB / 1.44 GB, free: 6.418 MB / 1.139 GB Notification: Performance of SimCode: time 8.92e-07/0.6276, allocations: 0 / 1.44 GB, free: 6.418 MB / 1.139 GB Notification: Performance of Templates: time 0.0556/0.6832, allocations: 31.47 MB / 1.47 GB, free: 7.355 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: 10.082311584614217]