Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001653/0.001652, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.001975/0.001975, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.485/1.485, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 437.1 MB / 0.7177 GB, free: 4.492 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3574, allocations: 151.6 MB / 1.176 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01395/0.3714, allocations: 10.91 MB / 1.186 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.3859, allocations: 8.803 MB / 1.195 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.3877, allocations: 51.69 kB / 1.195 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004726/0.3925, allocations: 1.68 MB / 1.197 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005435/0.3979, allocations: 1.532 MB / 1.198 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.4003, allocations: 0.6744 MB / 1.199 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004054/0.4043, allocations: 2.278 MB / 1.201 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.4066, allocations: 1.38 MB / 1.203 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.4087, allocations: 0.9886 MB / 1.203 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.4106, allocations: 1.012 MB / 1.204 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002664/0.4109, allocations: 136 kB / 1.205 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.4127, allocations: 0.8032 MB / 1.205 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006304/0.4134, allocations: 0.5725 MB / 1.206 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.4145, allocations: 0.8823 MB / 1.207 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003684/0.4182, allocations: 2.58 MB / 1.209 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4182, allocations: 0 / 1.209 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.706e-06/0.4182, allocations: 0 / 1.209 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.296e-05/0.4183, allocations: 0 / 1.209 GB, free: 3.461 MB / 0.9512 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.003723/0.422, allocations: 2.07 MB / 1.211 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.422, allocations: 11.98 kB / 1.211 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.4332, allocations: 2.063 MB / 1.213 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/0.4359, allocations: 1.233 MB / 1.215 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.436, allocations: 82.69 kB / 1.215 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/0.4362, allocations: 124.1 kB / 1.215 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005861/0.4421, allocations: 2.478 MB / 1.217 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/0.4422, allocations: 4 kB / 1.217 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.4423, allocations: 55.98 kB / 1.217 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003506/0.4427, allocations: 126.1 kB / 1.217 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007442/0.4501, allocations: 2.545 MB / 1.22 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.4645, allocations: 10.03 MB / 1.23 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00634/0.4709, allocations: 1.948 MB / 1.232 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002867/0.4738, allocations: 0.966 MB / 1.232 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.4739, allocations: 8.422 kB / 1.232 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.474, allocations: 58.86 kB / 1.233 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 2.745e-06/0.474, allocations: 0 / 1.233 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=81): time 0.03152/0.5055, allocations: 8.741 MB / 1.241 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.5056, allocations: 60.06 kB / 1.241 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.5075, allocations: 1.097 MB / 1.242 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000159/0.5077, allocations: 41.7 kB / 1.242 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006503/0.5083, allocations: 0.7514 MB / 1.243 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.5087, allocations: 297.4 kB / 1.243 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004772/0.5092, allocations: 206.5 kB / 1.243 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5094, allocations: 345.9 kB / 1.244 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003104/0.5125, allocations: 1.071 MB / 1.245 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/0.5158, allocations: 1.301 MB / 1.246 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006402/0.5222, allocations: 2.386 MB / 1.248 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.5223, allocations: 4 kB / 1.248 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009449/0.5317, allocations: 3.277 MB / 1.252 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.5318, allocations: 10.34 kB / 1.252 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.5318, allocations: 12.03 kB / 1.252 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/0.5347, allocations: 0.7949 MB / 1.252 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.5367, allocations: 419.2 kB / 1.253 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7768/1.314, allocations: 15.91 MB / 1.268 GB, free: 69.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/1.316, allocations: 293 kB / 1.269 GB, free: 69.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/1.316, allocations: 50.84 kB / 1.269 GB, free: 69.19 MB / 0.9981 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.0008418/1.317, allocations: 400.3 kB / 1.269 GB, free: 68.95 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003409/1.318, allocations: 151 kB / 1.269 GB, free: 68.95 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009901/1.327, allocations: 3.208 MB / 1.272 GB, free: 68.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.328, allocations: 8.156 kB / 1.272 GB, free: 68.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-05/1.328, allocations: 8.141 kB / 1.272 GB, free: 68.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/1.328, allocations: 8.922 kB / 1.272 GB, free: 68.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/1.341, allocations: 4.89 MB / 1.277 GB, free: 66.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.341, allocations: 8.078 kB / 1.277 GB, free: 66.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/1.343, allocations: 355.7 kB / 1.278 GB, free: 66.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/1.345, allocations: 0.6973 MB / 1.278 GB, free: 66.06 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/1.345, allocations: 31.88 kB / 1.278 GB, free: 66.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/1.359, allocations: 15.55 MB / 1.293 GB, free: 53.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.359, allocations: 3.781 kB / 1.293 GB, free: 53.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008873/1.367, allocations: 3.055 MB / 1.296 GB, free: 51.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009086/1.368, allocations: 392.5 kB / 1.297 GB, free: 51.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/1.369, allocations: 19.52 kB / 1.297 GB, free: 51.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/1.371, allocations: 291.1 kB / 1.297 GB, free: 51.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/1.371, allocations: 81.42 kB / 1.297 GB, free: 51.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.371, allocations: 41.47 kB / 1.297 GB, free: 51.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001153/1.372, allocations: 0.7364 MB / 1.298 GB, free: 51.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.372, allocations: 0 / 1.298 GB, free: 51.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001894/1.374, allocations: 431.1 kB / 1.298 GB, free: 51.34 MB / 0.9981 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.0002487/1.375, allocations: 129.6 kB / 1.298 GB, free: 51.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0091/1.384, allocations: 3.637 MB / 1.302 GB, free: 49.58 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.384, allocations: 1.062 kB / 1.302 GB, free: 49.58 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005277/1.389, allocations: 2.375 MB / 1.304 GB, free: 48.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.392, allocations: 0.5201 MB / 1.305 GB, free: 48.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008301/1.4, allocations: 3.599 MB / 1.308 GB, free: 46.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/1.401, allocations: 1.389 MB / 1.31 GB, free: 45.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006918/1.402, allocations: 125.8 kB / 1.31 GB, free: 45.74 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.402, allocations: 1.344 kB / 1.31 GB, free: 45.74 MB / 0.9981 GB Notification: Performance of Templates: time 0.07911/1.481, allocations: 75.1 MB / 1.383 GB, free: 4.793 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 18.42372543097008]