Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001428/0.001428, allocations: 79.86 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.001643/0.001643, allocations: 163.5 kB / 22.46 MB, free: 5.359 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.837/2.837, allocations: 389 MB / 0.633 GB, free: 0.9766 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_L,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_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.612e-05/3.797e-05, allocations: 2.281 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00969/0.009727, allocations: 5.832 MB / 1.006 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006573/0.0163, allocations: 3.082 MB / 1.009 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008875/0.01719, allocations: 39.62 kB / 1.009 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003158/0.02035, allocations: 0.9362 MB / 1.01 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.02216, allocations: 0.4931 MB / 1.01 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.02359, allocations: 491.8 kB / 1.011 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001687/0.02528, allocations: 1.131 MB / 1.012 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009659/0.02625, allocations: 0.51 MB / 1.012 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.0273, allocations: 0.6078 MB / 1.013 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007205/0.02802, allocations: 426.8 kB / 1.013 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.02813, allocations: 60 kB / 1.013 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009627/0.02909, allocations: 450.8 kB / 1.014 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003822/0.02947, allocations: 311.1 kB / 1.014 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.02983, allocations: 271.3 kB / 1.014 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.03145, allocations: 1.203 MB / 1.016 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.03146, allocations: 0 / 1.016 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.764e-06/0.03146, allocations: 0 / 1.016 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.03147, allocations: 0 / 1.016 GB, free: 7.418 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001837/0.03331, allocations: 0.9986 MB / 1.017 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.03335, allocations: 11.98 kB / 1.017 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.03491, allocations: 228.2 kB / 1.017 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009792/0.03589, allocations: 0.5119 MB / 1.017 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/0.03594, allocations: 49.67 kB / 1.017 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.03608, allocations: 64.31 kB / 1.017 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.03783, allocations: 1.127 MB / 1.018 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.03787, allocations: 12.12 kB / 1.018 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/0.03795, allocations: 32.36 kB / 1.019 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.03806, allocations: 69.2 kB / 1.019 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.03921, allocations: 0.6918 MB / 1.019 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005171/0.04438, allocations: 4.394 MB / 1.024 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008621/0.04524, allocations: 410.3 kB / 1.024 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008738/0.04612, allocations: 390.6 kB / 1.024 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.04617, allocations: 4.688 kB / 1.024 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.0462, allocations: 34.56 kB / 1.024 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=41): time 2.785e-06/0.04621, allocations: 3.938 kB / 1.024 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42): time 0.004647/0.05085, allocations: 1.718 MB / 1.026 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.05091, allocations: 55.41 kB / 1.026 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.05145, allocations: 441.7 kB / 1.027 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.05149, allocations: 33.7 kB / 1.027 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.05181, allocations: 403.9 kB / 1.027 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.05197, allocations: 154.6 kB / 1.027 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.05215, allocations: 106.3 kB / 1.027 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.05236, allocations: 358.8 kB / 1.028 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.05275, allocations: 249.2 kB / 1.028 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/0.05338, allocations: 457.5 kB / 1.028 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.05444, allocations: 0.7518 MB / 1.029 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.05445, allocations: 4 kB / 1.029 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002029/0.05648, allocations: 1.05 MB / 1.03 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.0565, allocations: 8 kB / 1.03 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.05651, allocations: 4 kB / 1.03 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.05764, allocations: 323.4 kB / 1.03 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.05798, allocations: 103.8 kB / 1.03 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0083/0.06628, allocations: 6.965 MB / 1.037 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.06677, allocations: 32.03 kB / 1.037 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.06683, allocations: 24 kB / 1.037 GB, free: 148 kB / 0.9825 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004182/0.06725, allocations: 249.6 kB / 1.037 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.604e-05/0.06734, allocations: 55.67 kB / 1.038 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.06922, allocations: 0.8999 MB / 1.038 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.06923, allocations: 4 kB / 1.038 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.06923, allocations: 8 kB / 1.038 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.06925, allocations: 7.922 kB / 1.038 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.072, allocations: 1.497 MB / 1.04 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.072, allocations: 0 / 1.04 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.07219, allocations: 39.97 kB / 1.04 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.07321, allocations: 323.7 kB / 1.04 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.07325, allocations: 8 kB / 1.04 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008115/0.08136, allocations: 6.973 MB / 1.047 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.08137, allocations: 4 kB / 1.047 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.08332, allocations: 0.9801 MB / 1.048 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.08359, allocations: 103.5 kB / 1.048 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.08365, allocations: 8 kB / 1.048 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.08394, allocations: 19.98 kB / 1.048 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.08408, allocations: 39.92 kB / 1.048 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.08412, allocations: 19.98 kB / 1.048 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003629/0.08448, allocations: 278.9 kB / 1.048 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.08448, allocations: 7.938 kB / 1.048 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008689/0.08535, allocations: 199.9 kB / 1.049 GB, free: 3.883 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001905/0.08554, allocations: 103.2 kB / 1.049 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002075/0.08762, allocations: 1.16 MB / 1.05 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.08763, allocations: 0 / 1.05 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.08899, allocations: 0.84 MB / 1.051 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.09002, allocations: 193.4 kB / 1.051 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.09218, allocations: 1.224 MB / 1.052 GB, free: 224 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.09268, allocations: 402.5 kB / 1.052 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002568/0.09294, allocations: 93 kB / 1.053 GB, free: 15.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-05/0.09303, allocations: 32.5 kB / 1.053 GB, free: 15.68 MB / 1.014 GB Notification: Performance of SimCode: time 1.001e-06/0.09303, allocations: 4 kB / 1.053 GB, free: 15.67 MB / 1.014 GB Notification: Performance of Templates: time 0.02025/0.1133, allocations: 10.35 MB / 1.063 GB, free: 5.52 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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: 8.316998332738876]