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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 80.52 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 164.9 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.792/2.792, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.482e-06/1.482e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.286e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01321/0.01323, allocations: 10.2 MB / 0.9914 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.02698, allocations: 8.374 MB / 0.9996 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.02816, allocations: 91.19 kB / 0.9997 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004664/0.03282, allocations: 1.679 MB / 1.001 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004769/0.03759, allocations: 1.606 MB / 1.003 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.03954, allocations: 0.6817 MB / 1.004 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003972/0.04351, allocations: 2.363 MB / 1.006 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.04527, allocations: 1.145 MB / 1.007 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00258/0.04785, allocations: 1.532 MB / 1.008 GB, free: 164 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.04953, allocations: 0.8334 MB / 1.009 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/0.04977, allocations: 136 kB / 1.009 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.05166, allocations: 0.7443 MB / 1.01 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007093/0.05237, allocations: 0.6035 MB / 1.011 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008802/0.05325, allocations: 0.5922 MB / 1.011 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003652/0.0569, allocations: 2.582 MB / 1.014 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.05691, allocations: 0 / 1.014 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.05691, allocations: 0 / 1.014 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.05693, allocations: 3.938 kB / 1.014 GB, free: 10.65 MB / 0.9669 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.003893/0.06082, allocations: 1.968 MB / 1.016 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.06088, allocations: 8.031 kB / 1.016 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.07271, allocations: 2.063 MB / 1.018 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.07478, allocations: 1.121 MB / 1.019 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.445e-05/0.07486, allocations: 82.7 kB / 1.019 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/0.07511, allocations: 120.3 kB / 1.019 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005865/0.08098, allocations: 2.697 MB / 1.022 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.997e-05/0.08102, allocations: 11.88 kB / 1.022 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.08119, allocations: 51.98 kB / 1.022 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003695/0.08156, allocations: 130.1 kB / 1.022 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007793/0.08935, allocations: 2.541 MB / 1.024 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.1019, allocations: 7.475 MB / 1.032 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006705/0.1086, allocations: 1.856 MB / 1.033 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003023/0.1116, allocations: 0.9427 MB / 1.034 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/0.1117, allocations: 12.5 kB / 1.034 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.1117, allocations: 39.06 kB / 1.034 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 2.695e-06/0.1117, allocations: 0 / 1.034 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=81): time 0.0358/0.1475, allocations: 9.105 MB / 1.043 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.1476, allocations: 64.05 kB / 1.043 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.149, allocations: 0.9593 MB / 1.044 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.1491, allocations: 37.7 kB / 1.044 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005994/0.1497, allocations: 0.7619 MB / 1.045 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.15, allocations: 297.4 kB / 1.045 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004302/0.1505, allocations: 198.5 kB / 1.046 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1506, allocations: 345.9 kB / 1.046 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003364/0.154, allocations: 1.087 MB / 1.047 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003498/0.1575, allocations: 1.309 MB / 1.048 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006873/0.1644, allocations: 2.405 MB / 1.051 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1644, allocations: 4 kB / 1.051 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009933/0.1743, allocations: 3.273 MB / 1.054 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.1743, allocations: 8 kB / 1.054 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.1743, allocations: 8 kB / 1.054 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003296/0.1776, allocations: 0.8579 MB / 1.055 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.1798, allocations: 411.3 kB / 1.055 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/0.1975, allocations: 15.02 MB / 1.07 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.1999, allocations: 299.5 kB / 1.07 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.2, allocations: 47.97 kB / 1.07 GB, free: 15.42 MB / 1.029 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.0007883/0.2008, allocations: 401.5 kB / 1.07 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.2011, allocations: 139.2 kB / 1.071 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009885/0.211, allocations: 3.2 MB / 1.074 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.211, allocations: 11.94 kB / 1.074 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.211, allocations: 11.94 kB / 1.074 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.211, allocations: 3.984 kB / 1.074 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.2231, allocations: 4.519 MB / 1.078 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.2231, allocations: 4 kB / 1.078 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/0.225, allocations: 351.7 kB / 1.078 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002939/0.2279, allocations: 0.7677 MB / 1.079 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.228, allocations: 35.91 kB / 1.079 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/0.2449, allocations: 14.63 MB / 1.094 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.2449, allocations: 7.969 kB / 1.094 GB, free: 6.363 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009322/0.2543, allocations: 3.036 MB / 1.096 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007786/0.255, allocations: 303 kB / 1.097 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.2553, allocations: 12 kB / 1.097 GB, free: 2.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/0.2573, allocations: 307.4 kB / 1.097 GB, free: 2.641 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.2576, allocations: 80.45 kB / 1.097 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.2577, allocations: 39.97 kB / 1.097 GB, free: 2.523 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009619/0.2587, allocations: 0.6346 MB / 1.098 GB, free: 1.883 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2587, allocations: 0 / 1.098 GB, free: 1.883 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001968/0.2607, allocations: 436 kB / 1.098 GB, free: 1.457 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.0003664/0.261, allocations: 135.6 kB / 1.098 GB, free: 1.316 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009429/0.2705, allocations: 3.543 MB / 1.102 GB, free: 13.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.2705, allocations: 0 / 1.102 GB, free: 13.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005555/0.276, allocations: 2.34 MB / 1.104 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.2783, allocations: 498.8 kB / 1.105 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009615/0.288, allocations: 3.747 MB / 1.108 GB, free: 6.949 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009322/0.2889, allocations: 0.8054 MB / 1.109 GB, free: 6.102 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001228/0.2901, allocations: 358.6 kB / 1.109 GB, free: 5.746 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/0.2905, allocations: 96.44 kB / 1.109 GB, free: 5.648 MB / 1.061 GB Notification: Performance of SimCode: time 1.112e-06/0.2905, allocations: 0 / 1.109 GB, free: 5.648 MB / 1.061 GB Notification: Performance of Templates: time 0.522/0.8125, allocations: 31.23 MB / 1.14 GB, free: 175.3 MB / 1.076 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: 9.664444006979465]