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.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.001819/0.001819, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001985/0.001985, allocations: 189 kB / 22.22 MB, free: 5.105 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 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.142/3.142, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 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-master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 74.25 kB / 1.145 GB, free: 30.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3385, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01411/0.3526, allocations: 11.31 MB / 1.327 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01482/0.3674, allocations: 9.118 MB / 1.336 GB, free: 5.215 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.3692, allocations: 79.31 kB / 1.336 GB, free: 5.137 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00486/0.3741, allocations: 1.737 MB / 1.338 GB, free: 3.395 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004936/0.379, allocations: 1.584 MB / 1.339 GB, free: 1.809 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.3811, allocations: 0.6814 MB / 1.34 GB, free: 1.129 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004664/0.3858, allocations: 2.275 MB / 1.342 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.3874, allocations: 0.9663 MB / 1.343 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.3893, allocations: 1.032 MB / 1.344 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.3911, allocations: 1.074 MB / 1.345 GB, free: 11.72 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.3913, allocations: 140 kB / 1.345 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.393, allocations: 0.8149 MB / 1.346 GB, free: 10.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006138/0.3936, allocations: 0.5841 MB / 1.347 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.3947, allocations: 0.8823 MB / 1.348 GB, free: 9.297 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003365/0.398, allocations: 2.576 MB / 1.35 GB, free: 6.711 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.398, allocations: 0 / 1.35 GB, free: 6.711 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.313e-05/0.398, allocations: 0 / 1.35 GB, free: 6.711 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.034e-05/0.3981, allocations: 0 / 1.35 GB, free: 6.711 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.003607/0.4017, allocations: 1.999 MB / 1.352 GB, free: 4.672 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4017, allocations: 8.031 kB / 1.352 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.4132, allocations: 2.063 MB / 1.354 GB, free: 2.598 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002868/0.416, allocations: 1.137 MB / 1.355 GB, free: 1.41 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.892e-05/0.4161, allocations: 90.67 kB / 1.355 GB, free: 1.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.4164, allocations: 116.1 kB / 1.355 GB, free: 1.207 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005719/0.4221, allocations: 2.478 MB / 1.358 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.4221, allocations: 4 kB / 1.358 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.4223, allocations: 59.92 kB / 1.358 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003594/0.4226, allocations: 130.1 kB / 1.358 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0074/0.43, allocations: 2.541 MB / 1.36 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.4442, allocations: 9.922 MB / 1.37 GB, free: 1.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006337/0.4505, allocations: 1.842 MB / 1.372 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002823/0.4533, allocations: 0.9425 MB / 1.373 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.4534, allocations: 12.38 kB / 1.373 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.4534, allocations: 43 kB / 1.373 GB, free: 14.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.325e-06/0.4534, allocations: 0 / 1.373 GB, free: 14.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03239/0.4858, allocations: 8.642 MB / 1.381 GB, free: 5.727 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.4859, allocations: 60.06 kB / 1.381 GB, free: 5.656 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.4874, allocations: 1.101 MB / 1.382 GB, free: 4.539 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.4875, allocations: 41.64 kB / 1.382 GB, free: 4.492 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/0.4881, allocations: 0.7473 MB / 1.383 GB, free: 3.738 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.4884, allocations: 301.5 kB / 1.384 GB, free: 3.441 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003944/0.4888, allocations: 202.5 kB / 1.384 GB, free: 3.238 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4889, allocations: 341.9 kB / 1.384 GB, free: 2.898 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/0.492, allocations: 1.071 MB / 1.385 GB, free: 1.824 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003212/0.4952, allocations: 1.305 MB / 1.386 GB, free: 440 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006276/0.5015, allocations: 2.378 MB / 1.389 GB, free: 13.96 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5015, allocations: 4 kB / 1.389 GB, free: 13.95 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009196/0.5107, allocations: 3.25 MB / 1.392 GB, free: 10.66 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.5107, allocations: 11.98 kB / 1.392 GB, free: 10.65 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.5107, allocations: 12.03 kB / 1.392 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002907/0.5136, allocations: 0.7833 MB / 1.393 GB, free: 9.832 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.5156, allocations: 415.2 kB / 1.393 GB, free: 9.426 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/0.5326, allocations: 15.12 MB / 1.408 GB, free: 9.387 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.535, allocations: 291.5 kB / 1.408 GB, free: 9.102 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.5351, allocations: 51.97 kB / 1.408 GB, free: 9.051 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.0008317/0.5359, allocations: 404 kB / 1.409 GB, free: 8.648 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.5362, allocations: 147.1 kB / 1.409 GB, free: 8.504 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00912/0.5453, allocations: 3.179 MB / 1.412 GB, free: 5.281 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.5453, allocations: 15.94 kB / 1.412 GB, free: 5.266 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.5453, allocations: 4 kB / 1.412 GB, free: 5.262 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.5453, allocations: 7.984 kB / 1.412 GB, free: 5.254 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.5572, allocations: 4.846 MB / 1.417 GB, free: 292 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.5573, allocations: 11.88 kB / 1.417 GB, free: 280 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/0.559, allocations: 351.4 kB / 1.417 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002465/0.5615, allocations: 0.6936 MB / 1.418 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.63e-05/0.5615, allocations: 31.97 kB / 1.418 GB, free: 15.18 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/0.5782, allocations: 14.72 MB / 1.432 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.5782, allocations: 4.031 kB / 1.432 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008672/0.5869, allocations: 3.024 MB / 1.435 GB, free: 12.43 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009239/0.5878, allocations: 318.8 kB / 1.435 GB, free: 12.12 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.588, allocations: 20 kB / 1.435 GB, free: 12.1 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/0.5899, allocations: 295.4 kB / 1.436 GB, free: 11.81 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.5902, allocations: 84.44 kB / 1.436 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.712e-05/0.5903, allocations: 35.97 kB / 1.436 GB, free: 11.7 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001063/0.5913, allocations: 0.7405 MB / 1.436 GB, free: 10.95 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5913, allocations: 0 / 1.436 GB, free: 10.95 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001481/0.5928, allocations: 432 kB / 1.437 GB, free: 10.53 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.0002574/0.5931, allocations: 124.9 kB / 1.437 GB, free: 10.4 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008865/0.6019, allocations: 3.511 MB / 1.44 GB, free: 6.789 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.6019, allocations: 4 kB / 1.44 GB, free: 6.785 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005161/0.6071, allocations: 2.324 MB / 1.443 GB, free: 4.352 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.6095, allocations: 0.5244 MB / 1.443 GB, free: 3.848 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007781/0.6172, allocations: 3.497 MB / 1.447 GB, free: 304 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.6184, allocations: 1.396 MB / 1.448 GB, free: 14.86 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001321/0.6197, allocations: 375.9 kB / 1.448 GB, free: 14.49 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.6201, allocations: 107.3 kB / 1.448 GB, free: 14.39 MB / 1.154 GB Notification: Performance of SimCode: time 9.52e-07/0.6201, allocations: 0 / 1.448 GB, free: 14.39 MB / 1.154 GB Notification: Performance of Templates: time 0.05524/0.6753, allocations: 31.47 MB / 1.479 GB, free: 15.31 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] 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/jenkins/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: 9.908036017790437]