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.001864/0.001864, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.002093/0.002093, allocations: 192.4 kB / 22.23 MB, free: 5.16 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.575/1.575, 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 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.706/2.706, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002008/0.002008, allocations: 67.89 kB / 1.061 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9953/0.9973, allocations: 160.8 MB / 1.218 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01671/1.014, allocations: 11.31 MB / 1.23 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0167/1.031, allocations: 9.11 MB / 1.238 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/1.033, allocations: 79.31 kB / 1.238 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005556/1.039, allocations: 1.75 MB / 1.24 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006553/1.046, allocations: 1.574 MB / 1.242 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/1.048, allocations: 0.6803 MB / 1.242 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00464/1.053, allocations: 2.279 MB / 1.245 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/1.055, allocations: 0.9701 MB / 1.246 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/1.057, allocations: 1.024 MB / 1.247 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002255/1.059, allocations: 1.066 MB / 1.248 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003231/1.06, allocations: 139.9 kB / 1.248 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/1.062, allocations: 0.8188 MB / 1.249 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001/1.063, allocations: 0.5841 MB / 1.249 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00173/1.065, allocations: 0.8939 MB / 1.25 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006115/1.071, allocations: 2.575 MB / 1.253 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/1.071, allocations: 0 / 1.253 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.834e-06/1.071, allocations: 0 / 1.253 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.721e-05/1.071, allocations: 0 / 1.253 GB, free: 4.277 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.004316/1.075, allocations: 2.074 MB / 1.255 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.075, allocations: 12.03 kB / 1.255 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/1.086, allocations: 2.063 MB / 1.257 GB, free: 68 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003268/1.089, allocations: 1.213 MB / 1.258 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/1.089, allocations: 90.69 kB / 1.258 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/1.09, allocations: 116.1 kB / 1.258 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006006/1.096, allocations: 2.482 MB / 1.26 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.345e-05/1.096, allocations: 11.92 kB / 1.26 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/1.096, allocations: 51.98 kB / 1.26 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003633/1.096, allocations: 126.1 kB / 1.261 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007023/1.103, allocations: 2.545 MB / 1.263 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01738/1.121, allocations: 10.05 MB / 1.273 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00916/1.13, allocations: 1.925 MB / 1.275 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00408/1.134, allocations: 0.9386 MB / 1.276 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.714e-05/1.134, allocations: 8.438 kB / 1.276 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.25e-05/1.134, allocations: 43 kB / 1.276 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 3.296e-06/1.134, allocations: 0 / 1.276 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=81): time 0.05535/1.189, allocations: 8.705 MB / 1.284 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.692e-05/1.19, allocations: 64.06 kB / 1.284 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/1.193, allocations: 1.101 MB / 1.285 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003201/1.193, allocations: 41.7 kB / 1.285 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001162/1.194, allocations: 0.7512 MB / 1.286 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007278/1.195, allocations: 293.4 kB / 1.286 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/1.196, allocations: 210.5 kB / 1.287 GB, free: 312 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002794/1.196, allocations: 334 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006175/1.203, allocations: 1.079 MB / 1.288 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006712/1.209, allocations: 1.301 MB / 1.289 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/1.221, allocations: 2.386 MB / 1.292 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/1.222, allocations: 8 kB / 1.292 GB, free: 11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01487/1.236, allocations: 3.246 MB / 1.295 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/1.236, allocations: 8 kB / 1.295 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/1.236, allocations: 11.94 kB / 1.295 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004069/1.241, allocations: 0.791 MB / 1.296 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/1.243, allocations: 415.3 kB / 1.296 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01972/1.263, allocations: 15.93 MB / 1.311 GB, free: 5.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/1.265, allocations: 291.5 kB / 1.312 GB, free: 5.145 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/1.265, allocations: 47.97 kB / 1.312 GB, free: 5.098 MB / 1.014 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.000998/1.266, allocations: 409.5 kB / 1.312 GB, free: 4.688 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/1.267, allocations: 151.1 kB / 1.312 GB, free: 4.539 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00896/1.276, allocations: 3.171 MB / 1.315 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/1.276, allocations: 11.94 kB / 1.315 GB, free: 1.312 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/1.276, allocations: 8 kB / 1.315 GB, free: 1.305 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/1.276, allocations: 7.984 kB / 1.315 GB, free: 1.297 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/1.288, allocations: 4.878 MB / 1.32 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.288, allocations: 7.938 kB / 1.32 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.29, allocations: 351.4 kB / 1.321 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/1.292, allocations: 0.7014 MB / 1.321 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/1.292, allocations: 35.95 kB / 1.321 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/1.312, allocations: 15.54 MB / 1.336 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.312, allocations: 4 kB / 1.336 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008302/1.32, allocations: 3.021 MB / 1.339 GB, free: 7.414 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.322, allocations: 384 kB / 1.34 GB, free: 7.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.322, allocations: 19.98 kB / 1.34 GB, free: 7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/1.324, allocations: 295.4 kB / 1.34 GB, free: 6.711 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003125/1.324, allocations: 84.45 kB / 1.34 GB, free: 6.629 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.324, allocations: 39.97 kB / 1.34 GB, free: 6.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001207/1.325, allocations: 0.7366 MB / 1.341 GB, free: 5.852 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/1.325, allocations: 0 / 1.341 GB, free: 5.852 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001845/1.327, allocations: 435.9 kB / 1.341 GB, free: 5.426 MB / 1.045 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.000318/1.327, allocations: 127.2 kB / 1.341 GB, free: 5.293 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.008692/1.336, allocations: 3.515 MB / 1.345 GB, free: 1.672 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.336, allocations: 0 / 1.345 GB, free: 1.672 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.005623/1.342, allocations: 2.324 MB / 1.347 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/1.345, allocations: 0.5193 MB / 1.348 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00838/1.353, allocations: 3.497 MB / 1.351 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.354, allocations: 1.392 MB / 1.352 GB, free: 9.758 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001509/1.356, allocations: 379.9 kB / 1.353 GB, free: 9.383 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/1.356, allocations: 103.4 kB / 1.353 GB, free: 9.281 MB / 1.061 GB Notification: Performance of SimCode: time 1.413e-06/1.356, allocations: 0 / 1.353 GB, free: 9.281 MB / 1.061 GB Notification: Performance of Templates: time 0.06444/1.421, allocations: 31.46 MB / 1.384 GB, free: 10.22 MB / 1.092 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.48247608076781]