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.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.001746/0.001746, allocations: 80.06 kB / 19.18 MB, free: 2.516 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.002131/0.002131, allocations: 163.8 kB / 22.46 MB, free: 5.375 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.422/1.422, allocations: 177.2 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.82/2.82, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.403e-06/1.403e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.109e-05, allocations: 5.797 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01427/0.0143, allocations: 10.2 MB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01457/0.02886, allocations: 8.374 MB / 1.018 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.03021, allocations: 91.19 kB / 1.018 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004853/0.03506, allocations: 1.672 MB / 1.02 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005035/0.04009, allocations: 1.607 MB / 1.022 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.04208, allocations: 0.6841 MB / 1.022 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003618/0.0457, allocations: 2.362 MB / 1.025 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.04789, allocations: 1.145 MB / 1.026 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003266/0.05116, allocations: 1.532 MB / 1.027 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.05276, allocations: 0.8335 MB / 1.028 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000247/0.05301, allocations: 132 kB / 1.028 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.05462, allocations: 0.7482 MB / 1.029 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006639/0.05529, allocations: 0.6035 MB / 1.029 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000816/0.0561, allocations: 0.5884 MB / 1.03 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003472/0.05958, allocations: 2.59 MB / 1.033 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.05958, allocations: 7.984 kB / 1.033 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.05959, allocations: 0 / 1.033 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.254e-05/0.05962, allocations: 3.938 kB / 1.033 GB, free: 5.98 MB / 0.9825 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.003566/0.06318, allocations: 1.96 MB / 1.034 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.06323, allocations: 19.98 kB / 1.034 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/0.07554, allocations: 2.055 MB / 1.036 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.07827, allocations: 1.117 MB / 1.038 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-05/0.07836, allocations: 94.69 kB / 1.038 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/0.07865, allocations: 112.4 kB / 1.038 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006346/0.085, allocations: 2.697 MB / 1.04 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/0.08504, allocations: 15.83 kB / 1.04 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.08521, allocations: 55.98 kB / 1.04 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003877/0.0856, allocations: 130.1 kB / 1.041 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008305/0.0939, allocations: 2.537 MB / 1.043 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01414/0.108, allocations: 7.46 MB / 1.05 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006907/0.1149, allocations: 1.856 MB / 1.052 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003058/0.118, allocations: 0.9544 MB / 1.053 GB, free: 448 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.118, allocations: 4.5 kB / 1.053 GB, free: 444 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.1181, allocations: 39.06 kB / 1.053 GB, free: 396 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=53): time 2.505e-06/0.1181, allocations: 0 / 1.053 GB, free: 396 kB / 0.9981 GB Notification: Performance of matching and sorting (n=81): time 0.03548/0.1536, allocations: 9.113 MB / 1.062 GB, free: 7.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.1536, allocations: 60.06 kB / 1.062 GB, free: 7.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.155, allocations: 0.9593 MB / 1.063 GB, free: 6.188 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.1551, allocations: 41.7 kB / 1.063 GB, free: 6.141 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006427/0.1558, allocations: 0.7658 MB / 1.064 GB, free: 5.367 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.1561, allocations: 289.5 kB / 1.064 GB, free: 5.082 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004325/0.1565, allocations: 198.5 kB / 1.064 GB, free: 4.883 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1567, allocations: 349.9 kB / 1.065 GB, free: 4.535 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003434/0.1601, allocations: 1.083 MB / 1.066 GB, free: 3.453 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00364/0.1638, allocations: 1.313 MB / 1.067 GB, free: 2.043 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007029/0.1708, allocations: 2.405 MB / 1.069 GB, free: 15.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.1708, allocations: 4 kB / 1.069 GB, free: 15.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009994/0.1808, allocations: 3.266 MB / 1.072 GB, free: 12.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.1809, allocations: 8 kB / 1.072 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.1809, allocations: 8 kB / 1.073 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003448/0.1843, allocations: 0.8616 MB / 1.073 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.1865, allocations: 415.3 kB / 1.074 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01922/0.2057, allocations: 15.02 MB / 1.088 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.2083, allocations: 295.6 kB / 1.089 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.2084, allocations: 51.97 kB / 1.089 GB, free: 10.75 MB / 1.045 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.0008388/0.2093, allocations: 405.3 kB / 1.089 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.2095, allocations: 131.2 kB / 1.089 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00984/0.2194, allocations: 3.204 MB / 1.092 GB, free: 6.961 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.2194, allocations: 8 kB / 1.092 GB, free: 6.953 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.2194, allocations: 7.938 kB / 1.092 GB, free: 6.945 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.2194, allocations: 3.984 kB / 1.092 GB, free: 6.941 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.2318, allocations: 4.527 MB / 1.097 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.2318, allocations: 4 kB / 1.097 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.2336, allocations: 351.4 kB / 1.097 GB, free: 1.973 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002889/0.2365, allocations: 0.768 MB / 1.098 GB, free: 1.18 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.2366, allocations: 31.91 kB / 1.098 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01762/0.2542, allocations: 14.62 MB / 1.112 GB, free: 1.703 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.2542, allocations: 7.938 kB / 1.112 GB, free: 1.695 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008997/0.2632, allocations: 3.04 MB / 1.115 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008844/0.2641, allocations: 302.9 kB / 1.115 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.2643, allocations: 23.94 kB / 1.116 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/0.2663, allocations: 295.4 kB / 1.116 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.2666, allocations: 84.44 kB / 1.116 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.2667, allocations: 39.97 kB / 1.116 GB, free: 13.85 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000969/0.2677, allocations: 0.6346 MB / 1.117 GB, free: 13.21 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.2677, allocations: 0 / 1.117 GB, free: 13.21 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001618/0.2693, allocations: 440 kB / 1.117 GB, free: 12.78 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.0003148/0.2696, allocations: 135 kB / 1.117 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.009461/0.2791, allocations: 3.543 MB / 1.121 GB, free: 8.988 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.2791, allocations: 0 / 1.121 GB, free: 8.988 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005484/0.2846, allocations: 2.34 MB / 1.123 GB, free: 6.547 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.2869, allocations: 487.8 kB / 1.123 GB, free: 6.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.2971, allocations: 3.752 MB / 1.127 GB, free: 2.273 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.2982, allocations: 0.7937 MB / 1.128 GB, free: 1.438 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001379/0.2996, allocations: 362.6 kB / 1.128 GB, free: 1.078 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.2999, allocations: 104.4 kB / 1.128 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of SimCode: time 1.202e-06/0.3, allocations: 0 / 1.128 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of Templates: time 0.5559/0.8558, allocations: 31.2 MB / 1.159 GB, free: 157.8 MB / 1.076 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.647154856473207]