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.002009/0.002009, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002222/0.002222, allocations: 192.4 kB / 22.23 MB, free: 5.16 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.506/1.506, allocations: 225.6 MB / 251 MB, free: 13.02 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.685/2.685, allocations: 443.4 MB / 0.7321 GB, free: 12.27 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.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.002063/0.002063, allocations: 64.08 kB / 1.061 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 160.8 MB / 1.218 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01246/1.046, allocations: 6.989 MB / 1.225 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006828/1.053, allocations: 3.167 MB / 1.228 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/1.054, allocations: 39.62 kB / 1.228 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002815/1.057, allocations: 0.9825 MB / 1.229 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001875/1.059, allocations: 0.5242 MB / 1.23 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/1.06, allocations: 435.2 kB / 1.23 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002416/1.063, allocations: 1.231 MB / 1.232 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/1.064, allocations: 484.3 kB / 1.232 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/1.065, allocations: 496.8 kB / 1.232 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008536/1.066, allocations: 0.541 MB / 1.233 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/1.066, allocations: 71.94 kB / 1.233 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008992/1.067, allocations: 387.2 kB / 1.233 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003606/1.067, allocations: 311.1 kB / 1.234 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005406/1.068, allocations: 449.8 kB / 1.234 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001839/1.069, allocations: 1.229 MB / 1.235 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/1.069, allocations: 0 / 1.235 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.883e-06/1.069, allocations: 4 kB / 1.235 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.444e-05/1.069, allocations: 0 / 1.235 GB, free: 5.906 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.002203/1.072, allocations: 1.175 MB / 1.236 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.072, allocations: 8.031 kB / 1.237 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/1.073, allocations: 248 kB / 1.237 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/1.074, allocations: 0.5964 MB / 1.237 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/1.074, allocations: 49.67 kB / 1.237 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/1.075, allocations: 68.34 kB / 1.237 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/1.076, allocations: 1.085 MB / 1.238 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/1.076, allocations: 11.89 kB / 1.239 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/1.077, allocations: 31.92 kB / 1.239 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/1.077, allocations: 85.25 kB / 1.239 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/1.078, allocations: 0.7504 MB / 1.239 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006834/1.085, allocations: 5.89 MB / 1.245 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/1.086, allocations: 0.5073 MB / 1.246 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/1.086, allocations: 286 kB / 1.246 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/1.086, allocations: 4.438 kB / 1.246 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/1.086, allocations: 39 kB / 1.246 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.374e-06/1.086, allocations: 0 / 1.246 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004306/1.091, allocations: 1.987 MB / 1.248 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/1.091, allocations: 59.84 kB / 1.248 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007485/1.092, allocations: 0.5548 MB / 1.248 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/1.092, allocations: 33.7 kB / 1.248 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/1.092, allocations: 436 kB / 1.249 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/1.092, allocations: 178.5 kB / 1.249 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/1.092, allocations: 126.6 kB / 1.249 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002204/1.093, allocations: 378.7 kB / 1.25 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/1.093, allocations: 277.8 kB / 1.25 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/1.094, allocations: 488.9 kB / 1.25 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/1.095, allocations: 0.8045 MB / 1.251 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/1.095, allocations: 0 / 1.251 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002004/1.097, allocations: 1.081 MB / 1.252 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/1.097, allocations: 11.98 kB / 1.252 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.097, allocations: 8.875 kB / 1.252 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009652/1.098, allocations: 275.2 kB / 1.252 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/1.098, allocations: 123.8 kB / 1.253 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007889/1.106, allocations: 7.139 MB / 1.259 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007494/1.107, allocations: 43.95 kB / 1.26 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/1.107, allocations: 32.06 kB / 1.26 GB, free: 11.52 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.0004389/1.107, allocations: 259.7 kB / 1.26 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/1.107, allocations: 75.53 kB / 1.26 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/1.109, allocations: 0.8807 MB / 1.261 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/1.109, allocations: 4 kB / 1.261 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.109, allocations: 4 kB / 1.261 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.109, allocations: 0 / 1.261 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/1.112, allocations: 1.721 MB / 1.262 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.112, allocations: 3.938 kB / 1.262 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/1.112, allocations: 67.83 kB / 1.263 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000792/1.113, allocations: 271.4 kB / 1.263 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/1.113, allocations: 12 kB / 1.263 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007604/1.121, allocations: 7.124 MB / 1.27 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/1.121, allocations: 8.031 kB / 1.27 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/1.123, allocations: 0.976 MB / 1.271 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004244/1.123, allocations: 192.6 kB / 1.271 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/1.123, allocations: 12 kB / 1.271 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/1.124, allocations: 31.91 kB / 1.271 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/1.124, allocations: 43.92 kB / 1.271 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/1.124, allocations: 16 kB / 1.271 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005337/1.124, allocations: 383.1 kB / 1.271 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/1.124, allocations: 0 / 1.271 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009322/1.125, allocations: 224 kB / 1.272 GB, free: 14.5 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.0001982/1.125, allocations: 123.1 kB / 1.272 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00226/1.128, allocations: 1.224 MB / 1.273 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/1.128, allocations: 0 / 1.273 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001385/1.129, allocations: 0.87 MB / 1.274 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/1.13, allocations: 216.9 kB / 1.274 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/1.133, allocations: 1.354 MB / 1.275 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007731/1.134, allocations: 1.009 MB / 1.276 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004076/1.134, allocations: 114 kB / 1.276 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/1.134, allocations: 47.44 kB / 1.276 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of SimCode: time 1.292e-06/1.134, allocations: 0 / 1.276 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of Templates: time 0.02373/1.158, allocations: 11.84 MB / 1.288 GB, free: 13.66 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.81317522842437]