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.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.001309/0.001309, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00133/0.00133, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.406/1.406, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.715/2.715, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001979/0.001979, allocations: 67.89 kB / 1.107 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17/1.172, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01287/1.185, allocations: 6.999 MB / 1.279 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007972/1.193, allocations: 3.163 MB / 1.282 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/1.194, allocations: 27.78 kB / 1.282 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00368/1.198, allocations: 0.9874 MB / 1.283 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003224/1.201, allocations: 0.5212 MB / 1.283 GB, free: 216 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/1.203, allocations: 431.3 kB / 1.284 GB, free: 0 / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003849/1.207, allocations: 1.224 MB / 1.285 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/1.209, allocations: 479.6 kB / 1.285 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/1.211, allocations: 472.7 kB / 1.286 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/1.213, allocations: 0.5522 MB / 1.286 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001923/1.213, allocations: 69.31 kB / 1.286 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/1.215, allocations: 389.5 kB / 1.287 GB, free: 14.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006914/1.215, allocations: 319.8 kB / 1.287 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009362/1.216, allocations: 447.1 kB / 1.288 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003283/1.22, allocations: 1.221 MB / 1.289 GB, free: 13.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/1.22, allocations: 0 / 1.289 GB, free: 13.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.305e-06/1.22, allocations: 0 / 1.289 GB, free: 13.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.232e-05/1.22, allocations: 0.6094 kB / 1.289 GB, free: 13.86 MB / 1.014 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.003695/1.223, allocations: 1.185 MB / 1.29 GB, free: 13.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.223, allocations: 9.75 kB / 1.29 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/1.225, allocations: 242.8 kB / 1.29 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/1.227, allocations: 0.5904 MB / 1.291 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/1.227, allocations: 48.67 kB / 1.291 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/1.227, allocations: 67.11 kB / 1.291 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/1.229, allocations: 1.094 MB / 1.292 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/1.229, allocations: 7.438 kB / 1.292 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/1.229, allocations: 31.64 kB / 1.292 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/1.229, allocations: 85.27 kB / 1.292 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/1.23, allocations: 0.7525 MB / 1.293 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006221/1.236, allocations: 5.88 MB / 1.299 GB, free: 6.605 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/1.238, allocations: 0.5097 MB / 1.299 GB, free: 6.414 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/1.238, allocations: 283.8 kB / 1.299 GB, free: 6.312 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/1.238, allocations: 5.625 kB / 1.299 GB, free: 6.312 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/1.238, allocations: 38.11 kB / 1.299 GB, free: 6.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.806e-06/1.238, allocations: 0 / 1.299 GB, free: 6.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.004413/1.243, allocations: 1.992 MB / 1.301 GB, free: 5.203 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/1.243, allocations: 57.34 kB / 1.301 GB, free: 5.141 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008766/1.244, allocations: 0.5534 MB / 1.302 GB, free: 4.879 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/1.244, allocations: 36.2 kB / 1.302 GB, free: 4.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/1.244, allocations: 435.2 kB / 1.302 GB, free: 4.488 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/1.244, allocations: 176.7 kB / 1.303 GB, free: 4.352 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/1.245, allocations: 128.2 kB / 1.303 GB, free: 4.277 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000231/1.245, allocations: 378.5 kB / 1.303 GB, free: 3.934 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/1.245, allocations: 274.8 kB / 1.303 GB, free: 3.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006529/1.246, allocations: 498.6 kB / 1.304 GB, free: 3.465 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/1.247, allocations: 0.8103 MB / 1.305 GB, free: 2.926 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.247, allocations: 2.719 kB / 1.305 GB, free: 2.926 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002089/1.249, allocations: 1.074 MB / 1.306 GB, free: 2.469 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.249, allocations: 8.312 kB / 1.306 GB, free: 2.469 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/1.249, allocations: 11.56 kB / 1.306 GB, free: 2.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009478/1.25, allocations: 272.4 kB / 1.306 GB, free: 2.383 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/1.251, allocations: 132.9 kB / 1.306 GB, free: 2.363 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007893/1.259, allocations: 7.144 MB / 1.313 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/1.259, allocations: 36.5 kB / 1.313 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/1.26, allocations: 32.78 kB / 1.313 GB, free: 12.1 MB / 1.029 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.000494/1.26, allocations: 252.2 kB / 1.313 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/1.26, allocations: 77 kB / 1.313 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/1.262, allocations: 0.8817 MB / 1.314 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/1.262, allocations: 4.781 kB / 1.314 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.262, allocations: 5.438 kB / 1.314 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.262, allocations: 1.875 kB / 1.314 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/1.265, allocations: 1.703 MB / 1.316 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.265, allocations: 6.906 kB / 1.316 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/1.265, allocations: 67.84 kB / 1.316 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007895/1.266, allocations: 269.2 kB / 1.316 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/1.266, allocations: 15.47 kB / 1.316 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007511/1.274, allocations: 7.13 MB / 1.323 GB, free: 4.277 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.274, allocations: 5 kB / 1.323 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/1.276, allocations: 0.9708 MB / 1.324 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/1.276, allocations: 198.4 kB / 1.324 GB, free: 3.605 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.357e-05/1.276, allocations: 7.859 kB / 1.324 GB, free: 3.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/1.276, allocations: 39.25 kB / 1.324 GB, free: 3.586 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.277, allocations: 49.05 kB / 1.324 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/1.277, allocations: 14.94 kB / 1.324 GB, free: 3.566 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005667/1.277, allocations: 381.3 kB / 1.325 GB, free: 3.395 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/1.277, allocations: 0 / 1.325 GB, free: 3.395 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00106/1.278, allocations: 225.3 kB / 1.325 GB, free: 3.371 MB / 1.029 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.000197/1.278, allocations: 122.5 kB / 1.325 GB, free: 3.262 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002296/1.281, allocations: 1.224 MB / 1.326 GB, free: 2.547 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.281, allocations: 128 / 1.326 GB, free: 2.547 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/1.282, allocations: 0.8757 MB / 1.327 GB, free: 1.938 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/1.283, allocations: 224 kB / 1.327 GB, free: 1.855 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/1.286, allocations: 1.35 MB / 1.329 GB, free: 1.133 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008952/1.287, allocations: 1.015 MB / 1.33 GB, free: 400 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005107/1.288, allocations: 121.3 kB / 1.33 GB, free: 372 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/1.288, allocations: 41.78 kB / 1.33 GB, free: 364 kB / 1.029 GB Notification: Performance of SimCode: time 1.563e-06/1.288, allocations: 0 / 1.33 GB, free: 364 kB / 1.029 GB Notification: Performance of Templates: time 0.02668/1.315, allocations: 11.67 MB / 1.341 GB, free: 14.26 MB / 1.045 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 -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: 9.402289070189]