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.00164/0.00164, allocations: 79.73 kB / 19.76 MB, free: 2.031 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.001802/0.001802, allocations: 157.6 kB / 23.01 MB, free: 4.941 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.671/2.671, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 63.91 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3262, allocations: 169.9 MB / 1.117 GB, free: 2.512 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009582/0.3358, allocations: 6.483 MB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0056/0.3414, allocations: 3.056 MB / 1.127 GB, free: 8.934 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005422/0.342, allocations: 35.69 kB / 1.127 GB, free: 8.898 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.3447, allocations: 0.9454 MB / 1.128 GB, free: 7.949 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.3461, allocations: 0.5206 MB / 1.128 GB, free: 7.426 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.3472, allocations: 429.6 kB / 1.129 GB, free: 7.008 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001706/0.3489, allocations: 1.221 MB / 1.13 GB, free: 5.781 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009279/0.3499, allocations: 0.5295 MB / 1.13 GB, free: 5.254 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008921/0.3508, allocations: 486.3 kB / 1.131 GB, free: 4.777 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009461/0.3517, allocations: 0.5136 MB / 1.131 GB, free: 4.262 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.3519, allocations: 68 kB / 1.131 GB, free: 4.195 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000756/0.3526, allocations: 347.3 kB / 1.132 GB, free: 3.855 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003996/0.353, allocations: 315.1 kB / 1.132 GB, free: 3.547 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005761/0.3536, allocations: 382.2 kB / 1.132 GB, free: 3.172 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.3553, allocations: 1.226 MB / 1.134 GB, free: 1.941 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3553, allocations: 0 / 1.134 GB, free: 1.941 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3553, allocations: 0 / 1.134 GB, free: 1.941 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.177e-05/0.3553, allocations: 3.938 kB / 1.134 GB, free: 1.938 MB / 1.076 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.002235/0.3575, allocations: 1.108 MB / 1.135 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3576, allocations: 12.03 kB / 1.135 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.3592, allocations: 248 kB / 1.135 GB, free: 0.543 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5652/0.9244, allocations: 0.5195 MB / 1.135 GB, free: 58.47 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.255e-05/0.9245, allocations: 49.47 kB / 1.135 GB, free: 58.47 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002506/0.9248, allocations: 65.27 kB / 1.136 GB, free: 58.47 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.9262, allocations: 1.345 MB / 1.137 GB, free: 57.85 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.9262, allocations: 6.5 kB / 1.137 GB, free: 57.85 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.9262, allocations: 29.25 kB / 1.137 GB, free: 57.85 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.9264, allocations: 86.23 kB / 1.137 GB, free: 57.85 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008936/0.9273, allocations: 0.7495 MB / 1.138 GB, free: 57.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/0.9308, allocations: 4.519 MB / 1.142 GB, free: 54.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007993/0.9316, allocations: 0.5052 MB / 1.143 GB, free: 54.36 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.932, allocations: 291.9 kB / 1.143 GB, free: 54.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.932, allocations: 6.188 kB / 1.143 GB, free: 54.25 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.932, allocations: 38.53 kB / 1.143 GB, free: 54.21 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 3.196e-06/0.932, allocations: 1.875 kB / 1.143 GB, free: 54.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.003173/0.9352, allocations: 1.682 MB / 1.145 GB, free: 53.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.9352, allocations: 61.34 kB / 1.145 GB, free: 53.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.9356, allocations: 0.5098 MB / 1.145 GB, free: 53.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.9357, allocations: 33.7 kB / 1.145 GB, free: 53.23 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.9358, allocations: 428.4 kB / 1.146 GB, free: 52.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-05/0.9359, allocations: 177 kB / 1.146 GB, free: 52.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.9361, allocations: 130.4 kB / 1.146 GB, free: 52.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.9362, allocations: 371.9 kB / 1.146 GB, free: 52.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.9365, allocations: 274.8 kB / 1.146 GB, free: 52.32 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.9369, allocations: 491.1 kB / 1.147 GB, free: 51.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.9376, allocations: 0.8163 MB / 1.148 GB, free: 51.44 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9376, allocations: 2.844 kB / 1.148 GB, free: 51.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001439/0.9391, allocations: 1.068 MB / 1.149 GB, free: 50.98 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.9391, allocations: 8.656 kB / 1.149 GB, free: 50.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.9391, allocations: 9.031 kB / 1.149 GB, free: 50.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007226/0.9398, allocations: 274 kB / 1.149 GB, free: 50.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.9403, allocations: 128.8 kB / 1.149 GB, free: 50.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004535/0.9448, allocations: 6.603 MB / 1.156 GB, free: 45.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.9453, allocations: 35.11 kB / 1.156 GB, free: 45.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.9453, allocations: 30.94 kB / 1.156 GB, free: 45.32 MB / 1.076 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.0002412/0.9456, allocations: 255.7 kB / 1.156 GB, free: 45.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.481e-05/0.9457, allocations: 65.06 kB / 1.156 GB, free: 45.11 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.9469, allocations: 0.8824 MB / 1.157 GB, free: 44.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.9469, allocations: 5.812 kB / 1.157 GB, free: 44.72 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.9469, allocations: 9.375 kB / 1.157 GB, free: 44.72 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.947, allocations: 6.875 kB / 1.157 GB, free: 44.72 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.9489, allocations: 1.52 MB / 1.158 GB, free: 43.97 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.9489, allocations: 6.531 kB / 1.158 GB, free: 43.97 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.9492, allocations: 60.7 kB / 1.158 GB, free: 43.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000626/0.9498, allocations: 272.8 kB / 1.159 GB, free: 43.88 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.9498, allocations: 10.78 kB / 1.159 GB, free: 43.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004399/0.9542, allocations: 6.581 MB / 1.165 GB, free: 38.33 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9542, allocations: 7.469 kB / 1.165 GB, free: 38.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.9554, allocations: 0.9736 MB / 1.166 GB, free: 37.81 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.9556, allocations: 109.5 kB / 1.166 GB, free: 37.76 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.9557, allocations: 6.875 kB / 1.166 GB, free: 37.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.956, allocations: 33.55 kB / 1.166 GB, free: 37.75 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/0.9561, allocations: 59.33 kB / 1.166 GB, free: 37.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.9562, allocations: 11.16 kB / 1.166 GB, free: 37.73 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002745/0.9564, allocations: 339 kB / 1.167 GB, free: 37.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9564, allocations: 3.469 kB / 1.167 GB, free: 37.57 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006996/0.9571, allocations: 220.4 kB / 1.167 GB, free: 37.55 MB / 1.076 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.0001094/0.9572, allocations: 118.6 kB / 1.167 GB, free: 37.45 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.9588, allocations: 1.222 MB / 1.168 GB, free: 36.74 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9588, allocations: 1.344 kB / 1.168 GB, free: 36.74 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009777/0.9597, allocations: 0.8624 MB / 1.169 GB, free: 36.14 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008718/0.9606, allocations: 201.5 kB / 1.169 GB, free: 36.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.9622, allocations: 1.368 MB / 1.171 GB, free: 35.37 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.9625, allocations: 420 kB / 1.171 GB, free: 35.24 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002762/0.9628, allocations: 113 kB / 1.171 GB, free: 35.22 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/0.9629, allocations: 40 kB / 1.171 GB, free: 35.21 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.9629, allocations: 0 / 1.171 GB, free: 35.21 MB / 1.076 GB Notification: Performance of Templates: time 0.01945/0.9824, allocations: 11.33 MB / 1.182 GB, free: 33.99 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.980617149965838]