Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001745/0.001745, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002066/0.002066, allocations: 186 kB / 20.78 MB, free: 1.547 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.475/1.475, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 1.107 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9672/0.9692, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01271/0.9819, allocations: 11.32 MB / 1.283 GB, free: 300 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01718/0.9991, allocations: 9.096 MB / 1.292 GB, free: 10.15 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/1.001, allocations: 54.72 kB / 1.292 GB, free: 10.13 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005899/1.007, allocations: 1.745 MB / 1.294 GB, free: 9.102 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006981/1.014, allocations: 1.565 MB / 1.295 GB, free: 8.168 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002778/1.017, allocations: 0.6758 MB / 1.296 GB, free: 7.816 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004451/1.022, allocations: 2.288 MB / 1.298 GB, free: 6.734 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/1.024, allocations: 0.9696 MB / 1.299 GB, free: 6.211 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/1.026, allocations: 0.9984 MB / 1.3 GB, free: 5.789 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003003/1.029, allocations: 1.074 MB / 1.301 GB, free: 5.332 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006893/1.03, allocations: 138.9 kB / 1.301 GB, free: 5.332 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/1.033, allocations: 0.8171 MB / 1.302 GB, free: 5.086 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001457/1.035, allocations: 0.5834 MB / 1.303 GB, free: 4.812 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002799/1.037, allocations: 0.8799 MB / 1.303 GB, free: 4.273 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007055/1.044, allocations: 2.582 MB / 1.306 GB, free: 3.359 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.044, allocations: 0 / 1.306 GB, free: 3.359 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.334e-06/1.044, allocations: 1.25 kB / 1.306 GB, free: 3.359 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001315/1.045, allocations: 0 / 1.306 GB, free: 3.359 MB / 1.014 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.006704/1.051, allocations: 2.08 MB / 1.308 GB, free: 2.004 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.051, allocations: 13.62 kB / 1.308 GB, free: 2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/1.063, allocations: 2.055 MB / 1.31 GB, free: 1.867 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/1.066, allocations: 1.219 MB / 1.311 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.595e-05/1.066, allocations: 89.03 kB / 1.311 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003294/1.066, allocations: 124.5 kB / 1.311 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006079/1.072, allocations: 2.474 MB / 1.314 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/1.072, allocations: 8.5 kB / 1.314 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/1.072, allocations: 54.39 kB / 1.314 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003569/1.073, allocations: 132.7 kB / 1.314 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00736/1.08, allocations: 2.539 MB / 1.316 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/1.096, allocations: 10.05 MB / 1.326 GB, free: 8.082 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006162/1.102, allocations: 1.921 MB / 1.328 GB, free: 7.633 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/1.104, allocations: 0.9461 MB / 1.329 GB, free: 7.406 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-05/1.105, allocations: 7.234 kB / 1.329 GB, free: 7.406 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/1.105, allocations: 42.5 kB / 1.329 GB, free: 7.359 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 2.555e-06/1.105, allocations: 0 / 1.329 GB, free: 7.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=81): time 0.03088/1.135, allocations: 8.704 MB / 1.338 GB, free: 3.453 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/1.136, allocations: 64.41 kB / 1.338 GB, free: 3.387 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/1.137, allocations: 1.099 MB / 1.339 GB, free: 2.777 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/1.137, allocations: 44.95 kB / 1.339 GB, free: 2.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006146/1.138, allocations: 0.7512 MB / 1.34 GB, free: 2.062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/1.138, allocations: 297.2 kB / 1.34 GB, free: 1.805 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004535/1.139, allocations: 202.8 kB / 1.34 GB, free: 1.688 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.139, allocations: 339.4 kB / 1.34 GB, free: 1.359 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/1.142, allocations: 1.078 MB / 1.341 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003022/1.145, allocations: 1.302 MB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005889/1.151, allocations: 2.378 MB / 1.345 GB, free: 14.56 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.151, allocations: 2.875 kB / 1.345 GB, free: 14.56 MB / 1.045 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008956/1.16, allocations: 3.256 MB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/1.16, allocations: 9.5 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/1.16, allocations: 7.406 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002871/1.163, allocations: 0.7897 MB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/1.164, allocations: 419.7 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/1.182, allocations: 15.92 MB / 1.365 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/1.184, allocations: 295.6 kB / 1.365 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/1.184, allocations: 55.36 kB / 1.365 GB, free: 13.64 MB / 1.061 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.0009092/1.185, allocations: 400.9 kB / 1.366 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/1.186, allocations: 151 kB / 1.366 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008483/1.194, allocations: 3.174 MB / 1.369 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/1.194, allocations: 12.03 kB / 1.369 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/1.194, allocations: 8.031 kB / 1.369 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/1.194, allocations: 3.984 kB / 1.369 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/1.206, allocations: 4.88 MB / 1.374 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/1.206, allocations: 7.219 kB / 1.374 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/1.207, allocations: 355.6 kB / 1.374 GB, free: 8.238 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002414/1.21, allocations: 0.7029 MB / 1.375 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/1.21, allocations: 32.34 kB / 1.375 GB, free: 7.828 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01601/1.226, allocations: 15.54 MB / 1.39 GB, free: 8.625 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.226, allocations: 8.094 kB / 1.39 GB, free: 8.617 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008153/1.234, allocations: 3.021 MB / 1.393 GB, free: 5.516 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.235, allocations: 392 kB / 1.393 GB, free: 5.113 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/1.235, allocations: 12 kB / 1.393 GB, free: 5.102 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/1.237, allocations: 303.4 kB / 1.394 GB, free: 4.805 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/1.237, allocations: 72.5 kB / 1.394 GB, free: 4.734 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/1.238, allocations: 39.95 kB / 1.394 GB, free: 4.695 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001167/1.239, allocations: 0.7405 MB / 1.394 GB, free: 3.953 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.239, allocations: 4 kB / 1.394 GB, free: 3.949 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001884/1.241, allocations: 431.9 kB / 1.395 GB, free: 3.527 MB / 1.076 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.0002962/1.241, allocations: 127.2 kB / 1.395 GB, free: 3.395 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.008478/1.249, allocations: 3.519 MB / 1.398 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.249, allocations: 0 / 1.398 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.005024/1.254, allocations: 2.32 MB / 1.401 GB, free: 13.34 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/1.257, allocations: 0.5181 MB / 1.401 GB, free: 12.84 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007923/1.265, allocations: 3.518 MB / 1.405 GB, free: 9.273 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/1.266, allocations: 1.388 MB / 1.406 GB, free: 7.855 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001473/1.267, allocations: 379.9 kB / 1.406 GB, free: 7.48 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/1.268, allocations: 111.4 kB / 1.406 GB, free: 7.371 MB / 1.092 GB Notification: Performance of SimCode: time 1.363e-06/1.268, allocations: 3.938 kB / 1.406 GB, free: 7.367 MB / 1.092 GB Notification: Performance of Templates: time 0.0544/1.322, allocations: 31.26 MB / 1.437 GB, free: 8.512 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.136514270678163]