Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.001945/0.001945, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002099/0.002099, allocations: 190.1 kB / 22.23 MB, free: 5.133 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.64/1.64, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.707/2.707, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 67.89 kB / 1.061 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.1, allocations: 160.8 MB / 1.218 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009848/1.11, allocations: 7.066 MB / 1.225 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006109/1.116, allocations: 3.196 MB / 1.228 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008484/1.117, allocations: 43.62 kB / 1.229 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002883/1.12, allocations: 0.9986 MB / 1.23 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/1.121, allocations: 0.5129 MB / 1.23 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/1.123, allocations: 461.8 kB / 1.23 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001912/1.125, allocations: 1.236 MB / 1.232 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008999/1.126, allocations: 482.4 kB / 1.232 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007458/1.126, allocations: 490.3 kB / 1.233 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008111/1.127, allocations: 0.5487 MB / 1.233 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/1.127, allocations: 68 kB / 1.233 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009172/1.128, allocations: 391.2 kB / 1.234 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/1.129, allocations: 319 kB / 1.234 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004801/1.129, allocations: 445.8 kB / 1.234 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/1.131, allocations: 1.232 MB / 1.235 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/1.131, allocations: 0 / 1.235 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.352e-06/1.131, allocations: 0 / 1.235 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.243e-05/1.131, allocations: 3.938 kB / 1.235 GB, free: 2.992 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.002697/1.133, allocations: 1.187 MB / 1.237 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.322e-05/1.133, allocations: 12.03 kB / 1.237 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/1.135, allocations: 244.1 kB / 1.237 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/1.137, allocations: 0.612 MB / 1.237 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/1.137, allocations: 53.67 kB / 1.238 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/1.137, allocations: 60.36 kB / 1.238 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/1.139, allocations: 1.085 MB / 1.239 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/1.139, allocations: 15.88 kB / 1.239 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/1.139, allocations: 31.98 kB / 1.239 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/1.139, allocations: 89.23 kB / 1.239 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/1.141, allocations: 0.7504 MB / 1.24 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006649/1.147, allocations: 5.875 MB / 1.245 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/1.148, allocations: 0.5104 MB / 1.246 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/1.149, allocations: 282 kB / 1.246 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/1.149, allocations: 8.438 kB / 1.246 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/1.149, allocations: 39 kB / 1.246 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.605e-06/1.149, allocations: 0 / 1.246 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004099/1.153, allocations: 1.995 MB / 1.248 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/1.153, allocations: 55.84 kB / 1.248 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007558/1.154, allocations: 0.5665 MB / 1.249 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/1.154, allocations: 33.7 kB / 1.249 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/1.154, allocations: 424.1 kB / 1.249 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/1.154, allocations: 186.4 kB / 1.249 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/1.154, allocations: 126.6 kB / 1.249 GB, free: 4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000193/1.155, allocations: 378.7 kB / 1.25 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/1.155, allocations: 273.8 kB / 1.25 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/1.156, allocations: 496.8 kB / 1.25 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/1.157, allocations: 0.8083 MB / 1.251 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.157, allocations: 4 kB / 1.251 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001868/1.159, allocations: 1.078 MB / 1.252 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/1.159, allocations: 8 kB / 1.252 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.159, allocations: 8 kB / 1.252 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008743/1.16, allocations: 279.7 kB / 1.253 GB, free: 476 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/1.16, allocations: 127.7 kB / 1.253 GB, free: 348 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007186/1.167, allocations: 7.139 MB / 1.26 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/1.168, allocations: 39.95 kB / 1.26 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/1.168, allocations: 31.94 kB / 1.26 GB, free: 8.566 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.0004338/1.168, allocations: 265.5 kB / 1.26 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/1.168, allocations: 71.58 kB / 1.26 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/1.17, allocations: 0.8847 MB / 1.261 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.17, allocations: 8 kB / 1.261 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.17, allocations: 4 kB / 1.261 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.17, allocations: 3.984 kB / 1.261 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/1.173, allocations: 1.717 MB / 1.263 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.173, allocations: 4 kB / 1.263 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/1.173, allocations: 63.83 kB / 1.263 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007459/1.174, allocations: 263.6 kB / 1.263 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/1.174, allocations: 12 kB / 1.263 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007104/1.181, allocations: 7.132 MB / 1.27 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.181, allocations: 4.031 kB / 1.27 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/1.183, allocations: 0.9799 MB / 1.271 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/1.183, allocations: 192.6 kB / 1.271 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.045e-05/1.183, allocations: 12 kB / 1.271 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/1.184, allocations: 31.89 kB / 1.271 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.184, allocations: 43.92 kB / 1.271 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/1.184, allocations: 12 kB / 1.271 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005208/1.184, allocations: 395.1 kB / 1.272 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.184, allocations: 0 / 1.272 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009153/1.185, allocations: 227.9 kB / 1.272 GB, free: 11.52 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.0002009/1.186, allocations: 107.2 kB / 1.272 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002124/1.188, allocations: 1.236 MB / 1.273 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.188, allocations: 0 / 1.273 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/1.189, allocations: 0.8701 MB / 1.274 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/1.19, allocations: 222.6 kB / 1.274 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/1.193, allocations: 1.352 MB / 1.275 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007302/1.193, allocations: 1.024 MB / 1.276 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003846/1.194, allocations: 122 kB / 1.277 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/1.194, allocations: 43.42 kB / 1.277 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of SimCode: time 2.335e-06/1.194, allocations: 0 / 1.277 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of Templates: time 0.02577/1.22, allocations: 11.85 MB / 1.288 GB, free: 10.64 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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: 9.755411284044385]