Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0009261/0.0009261, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008494/0.0008494, allocations: 173.9 kB / 23.22 MB, free: 1.344 MB / 18.57 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 0.897/0.897, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.622/1.622, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.706e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005165/0.005182, allocations: 6.391 MB / 0.958 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003327/0.008509, allocations: 3.012 MB / 0.9609 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.008781, allocations: 35.69 kB / 0.9609 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.009946, allocations: 0.9559 MB / 0.9619 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007479/0.01069, allocations: 0.5241 MB / 0.9624 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.01135, allocations: 440.5 kB / 0.9628 GB, free: 7.586 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009401/0.01229, allocations: 1.259 MB / 0.964 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006018/0.01289, allocations: 0.5256 MB / 0.9646 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000639/0.01353, allocations: 0.6702 MB / 0.9652 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.01399, allocations: 466.7 kB / 0.9657 GB, free: 4.66 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.61e-05/0.01406, allocations: 64 kB / 0.9657 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.01449, allocations: 351.1 kB / 0.966 GB, free: 4.254 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.0147, allocations: 339 kB / 0.9664 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.0149, allocations: 311.3 kB / 0.9667 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009169/0.01582, allocations: 1.25 MB / 0.9679 GB, free: 2.359 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01582, allocations: 4 kB / 0.9679 GB, free: 2.355 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.363e-06/0.01582, allocations: 0 / 0.9679 GB, free: 2.355 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.01584, allocations: 3.984 kB / 0.9679 GB, free: 2.352 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001209/0.01705, allocations: 1.096 MB / 0.969 GB, free: 1.219 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.01708, allocations: 8.031 kB / 0.969 GB, free: 1.211 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007946/0.01787, allocations: 244.1 kB / 0.9692 GB, free: 0.9727 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.01847, allocations: 0.5262 MB / 0.9697 GB, free: 428 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.0185, allocations: 49.67 kB / 0.9698 GB, free: 380 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.01857, allocations: 68.36 kB / 0.9698 GB, free: 312 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.01961, allocations: 1.332 MB / 0.9711 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.01963, allocations: 12.08 kB / 0.9711 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.01968, allocations: 32.36 kB / 0.9712 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.01978, allocations: 89.19 kB / 0.9713 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007568/0.02054, allocations: 0.7465 MB / 0.972 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003054/0.02359, allocations: 4.519 MB / 0.9764 GB, free: 9.254 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006584/0.02425, allocations: 0.5088 MB / 0.9769 GB, free: 8.734 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.02452, allocations: 282.2 kB / 0.9772 GB, free: 8.457 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.02455, allocations: 8.5 kB / 0.9772 GB, free: 8.445 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.02458, allocations: 35.06 kB / 0.9772 GB, free: 8.402 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 2.195e-06/0.02458, allocations: 0 / 0.9772 GB, free: 8.402 MB / 0.9323 GB Notification: Performance of matching and sorting (n=48): time 0.002371/0.02695, allocations: 1.689 MB / 0.9789 GB, free: 6.695 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.027, allocations: 55.91 kB / 0.9789 GB, free: 6.629 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.02745, allocations: 0.5066 MB / 0.9794 GB, free: 6.109 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.02748, allocations: 37.7 kB / 0.9794 GB, free: 6.066 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.02769, allocations: 423.9 kB / 0.9799 GB, free: 5.648 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.0278, allocations: 178.5 kB / 0.98 GB, free: 5.473 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.02793, allocations: 130.6 kB / 0.9801 GB, free: 5.34 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.02806, allocations: 362.8 kB / 0.9805 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.02835, allocations: 277.8 kB / 0.9808 GB, free: 4.703 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/0.02876, allocations: 492.9 kB / 0.9812 GB, free: 4.129 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/0.02954, allocations: 0.8047 MB / 0.982 GB, free: 3.23 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.02954, allocations: 4 kB / 0.982 GB, free: 3.227 MB / 0.9323 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001207/0.03075, allocations: 1.078 MB / 0.9831 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.03077, allocations: 8 kB / 0.9831 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.03078, allocations: 4 kB / 0.9831 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005101/0.03129, allocations: 291.6 kB / 0.9834 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.03153, allocations: 123.8 kB / 0.9835 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.03555, allocations: 6.586 MB / 0.9899 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.03578, allocations: 35.97 kB / 0.9899 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.03581, allocations: 36.06 kB / 0.99 GB, free: 10.62 MB / 0.948 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0002172/0.03603, allocations: 249.6 kB / 0.9902 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.03609, allocations: 67.58 kB / 0.9903 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009363/0.03703, allocations: 0.8739 MB / 0.9911 GB, free: 9.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.03703, allocations: 12.19 kB / 0.9911 GB, free: 9.398 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.03704, allocations: 8 kB / 0.9912 GB, free: 9.391 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.03704, allocations: 3.984 kB / 0.9912 GB, free: 9.387 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.03853, allocations: 1.525 MB / 0.9926 GB, free: 7.793 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.03854, allocations: 192 / 0.9926 GB, free: 7.793 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.03866, allocations: 67.89 kB / 0.9927 GB, free: 7.727 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003902/0.03905, allocations: 263.2 kB / 0.993 GB, free: 7.457 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.03907, allocations: 12 kB / 0.993 GB, free: 7.445 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/0.04276, allocations: 6.579 MB / 0.9994 GB, free: 468 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.04276, allocations: 4.031 kB / 0.9994 GB, free: 464 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008998/0.04366, allocations: 0.9698 MB / 1 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.0438, allocations: 107.5 kB / 1 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.04384, allocations: 19.98 kB / 1 GB, free: 15.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.04401, allocations: 27.97 kB / 1 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.04409, allocations: 47.86 kB / 1.001 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.04411, allocations: 16 kB / 1.001 GB, free: 15.22 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002353/0.04435, allocations: 334.8 kB / 1.001 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.04435, allocations: 0 / 1.001 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004741/0.04482, allocations: 224 kB / 1.001 GB, free: 14.68 MB / 0.9636 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000114/0.04493, allocations: 119.1 kB / 1.001 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.04606, allocations: 1.232 MB / 1.002 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.04606, allocations: 0 / 1.002 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006631/0.04672, allocations: 0.8662 MB / 1.003 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.04729, allocations: 211.6 kB / 1.003 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.0487, allocations: 1.387 MB / 1.005 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.049, allocations: 419.1 kB / 1.005 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.0491, allocations: 48.5 kB / 1.005 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/0.0491, allocations: 0 / 1.005 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of Templates: time 0.01446/0.06356, allocations: 20.69 MB / 1.025 GB, free: 5.578 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.08692574314773]