Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 112.8 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 245.7 MB, free: 4.242 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 437.1 MB / 0.7177 GB, free: 4.852 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 71.86 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3587, allocations: 151.6 MB / 1.176 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009225/0.368, allocations: 6.739 MB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005563/0.3736, allocations: 3.032 MB / 1.185 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006988/0.3743, allocations: 23.88 kB / 1.185 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002662/0.377, allocations: 0.9683 MB / 1.186 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.3786, allocations: 0.4973 MB / 1.187 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.3799, allocations: 418.6 kB / 1.187 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001734/0.3817, allocations: 1.228 MB / 1.188 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.3827, allocations: 0.6622 MB / 1.189 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006757/0.3834, allocations: 470.4 kB / 1.19 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007361/0.3841, allocations: 0.5292 MB / 1.19 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.3842, allocations: 68 kB / 1.19 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009095/0.3851, allocations: 371.3 kB / 1.19 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000403/0.3855, allocations: 315.1 kB / 1.191 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005867/0.3861, allocations: 449.7 kB / 1.191 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.3881, allocations: 1.222 MB / 1.192 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.3881, allocations: 0 / 1.192 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3881, allocations: 3.938 kB / 1.192 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.3882, allocations: 0 / 1.192 GB, free: 4.934 MB / 0.9356 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.002356/0.3905, allocations: 1.175 MB / 1.194 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.074e-05/0.3906, allocations: 15.98 kB / 1.194 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.3922, allocations: 248 kB / 1.194 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.3933, allocations: 0.6003 MB / 1.194 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.066e-05/0.3934, allocations: 45.67 kB / 1.194 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.3935, allocations: 72.3 kB / 1.194 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.3952, allocations: 1.081 MB / 1.196 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.3953, allocations: 11.89 kB / 1.196 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/0.3954, allocations: 31.98 kB / 1.196 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000171/0.3955, allocations: 81.25 kB / 1.196 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.3968, allocations: 0.7504 MB / 1.196 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006285/0.4031, allocations: 5.883 MB / 1.202 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.4042, allocations: 0.5516 MB / 1.203 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.4047, allocations: 330 kB / 1.203 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.4047, allocations: 4.438 kB / 1.203 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.4048, allocations: 42.94 kB / 1.203 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.895e-06/0.4048, allocations: 0 / 1.203 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004066/0.4088, allocations: 1.991 MB / 1.205 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.4089, allocations: 55.84 kB / 1.205 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/0.4096, allocations: 0.5586 MB / 1.206 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.4097, allocations: 37.7 kB / 1.206 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.41, allocations: 428 kB / 1.206 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.4101, allocations: 174.5 kB / 1.206 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.4103, allocations: 126.6 kB / 1.206 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.4106, allocations: 386.7 kB / 1.207 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/0.411, allocations: 269.8 kB / 1.207 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.4116, allocations: 493 kB / 1.207 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.4126, allocations: 0.8132 MB / 1.208 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4127, allocations: 4 kB / 1.208 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001839/0.4145, allocations: 1.091 MB / 1.209 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.4145, allocations: 8 kB / 1.209 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.4145, allocations: 4 kB / 1.209 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008664/0.4154, allocations: 283.8 kB / 1.21 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.4159, allocations: 123.8 kB / 1.21 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007172/0.4231, allocations: 7.139 MB / 1.217 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.4238, allocations: 39.91 kB / 1.217 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/0.4239, allocations: 32 kB / 1.217 GB, free: 10.44 MB / 0.9669 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.0004154/0.4243, allocations: 260 kB / 1.217 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.4244, allocations: 71.58 kB / 1.217 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.426, allocations: 0.8885 MB / 1.218 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.426, allocations: 4 kB / 1.218 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.426, allocations: 4 kB / 1.218 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.426, allocations: 3.984 kB / 1.218 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.4288, allocations: 1.72 MB / 1.22 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.4288, allocations: 3.984 kB / 1.22 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.4291, allocations: 67.83 kB / 1.22 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007436/0.4298, allocations: 271.5 kB / 1.22 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.4299, allocations: 12 kB / 1.22 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007078/0.437, allocations: 7.131 MB / 1.227 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.437, allocations: 3.938 kB / 1.227 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.4387, allocations: 0.9839 MB / 1.228 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.439, allocations: 196.7 kB / 1.228 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.4391, allocations: 12 kB / 1.228 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/0.4395, allocations: 31.89 kB / 1.228 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.4396, allocations: 47.88 kB / 1.228 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.4397, allocations: 16 kB / 1.228 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004518/0.4401, allocations: 383.1 kB / 1.229 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4401, allocations: 0 / 1.229 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008103/0.4409, allocations: 224 kB / 1.229 GB, free: 13.39 MB / 0.9825 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.0001729/0.4411, allocations: 115.2 kB / 1.229 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002002/0.4431, allocations: 1.279 MB / 1.23 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4431, allocations: 0 / 1.23 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.4444, allocations: 0.8893 MB / 1.231 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.4455, allocations: 225 kB / 1.231 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.4477, allocations: 1.408 MB / 1.233 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/0.4484, allocations: 1.009 MB / 1.234 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.4486, allocations: 47.44 kB / 1.234 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.4486, allocations: 0 / 1.234 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of Templates: time 0.02626/0.4749, allocations: 20.7 MB / 1.254 GB, free: 3.57 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 13.9666777709499]