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.001367/0.001367, allocations: 110 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.001552/0.001552, allocations: 181.5 kB / 22.22 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.415/1.415, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.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.818/2.818, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 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.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.002684/0.002684, allocations: 67.89 kB / 1.11 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8216/0.8243, allocations: 168.8 MB / 1.274 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009857/0.8341, allocations: 6.989 MB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006013/0.8401, allocations: 3.164 MB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006376/0.8408, allocations: 39.62 kB / 1.284 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.8436, allocations: 0.9804 MB / 1.285 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.8451, allocations: 0.5168 MB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.8463, allocations: 445.1 kB / 1.286 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.8479, allocations: 1.221 MB / 1.287 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008352/0.8487, allocations: 482.5 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007153/0.8494, allocations: 482.3 kB / 1.288 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007993/0.8502, allocations: 0.5487 MB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.8503, allocations: 72 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008152/0.8512, allocations: 387.2 kB / 1.289 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003236/0.8515, allocations: 319 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004687/0.8519, allocations: 449.8 kB / 1.29 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.8534, allocations: 1.221 MB / 1.291 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8534, allocations: 0 / 1.291 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8534, allocations: 0 / 1.291 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.8534, allocations: 0 / 1.291 GB, free: 2.902 MB / 0.9825 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.002075/0.8555, allocations: 1.104 MB / 1.292 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.8556, allocations: 15.97 kB / 1.292 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.8571, allocations: 248.1 kB / 1.293 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009789/0.8581, allocations: 0.5152 MB / 1.293 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/0.8581, allocations: 53.67 kB / 1.293 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.8583, allocations: 68.27 kB / 1.293 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.8599, allocations: 1.085 MB / 1.294 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.86, allocations: 11.94 kB / 1.294 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.568e-05/0.86, allocations: 31.98 kB / 1.294 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/0.8602, allocations: 85.25 kB / 1.294 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.8614, allocations: 0.7504 MB / 1.295 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00625/0.8677, allocations: 5.799 MB / 1.301 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.8687, allocations: 0.5086 MB / 1.301 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.8692, allocations: 286 kB / 1.301 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.8692, allocations: 4.438 kB / 1.301 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.8693, allocations: 43 kB / 1.302 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 3.246e-06/0.8693, allocations: 0 / 1.302 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.003871/0.8732, allocations: 1.686 MB / 1.303 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.8732, allocations: 63.84 kB / 1.303 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006734/0.8739, allocations: 0.5548 MB / 1.304 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.8739, allocations: 33.7 kB / 1.304 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.8742, allocations: 420.1 kB / 1.304 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.8744, allocations: 182.5 kB / 1.304 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.8746, allocations: 126.5 kB / 1.305 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.8748, allocations: 378.7 kB / 1.305 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.8752, allocations: 273.8 kB / 1.305 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.8758, allocations: 0.4891 MB / 1.306 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.8769, allocations: 0.8045 MB / 1.306 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8769, allocations: 0 / 1.306 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001946/0.8789, allocations: 1.082 MB / 1.307 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.8789, allocations: 8 kB / 1.307 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.8789, allocations: 4 kB / 1.307 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008917/0.8798, allocations: 283.5 kB / 1.308 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.8803, allocations: 123.8 kB / 1.308 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007078/0.8874, allocations: 6.732 MB / 1.314 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006643/0.888, allocations: 44.14 kB / 1.314 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/0.8881, allocations: 32 kB / 1.315 GB, free: 9.668 MB / 1.014 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.0004163/0.8885, allocations: 253.6 kB / 1.315 GB, free: 9.41 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.8886, allocations: 75.52 kB / 1.315 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.8903, allocations: 0.8845 MB / 1.316 GB, free: 8.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.8903, allocations: 4 kB / 1.316 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8904, allocations: 8 kB / 1.316 GB, free: 8.418 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.8904, allocations: 3.984 kB / 1.316 GB, free: 8.414 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.8932, allocations: 1.677 MB / 1.317 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.8932, allocations: 0 / 1.317 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.8935, allocations: 67.77 kB / 1.317 GB, free: 6.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008212/0.8943, allocations: 267.4 kB / 1.318 GB, free: 6.316 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.8944, allocations: 8 kB / 1.318 GB, free: 6.309 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00748/0.9019, allocations: 6.726 MB / 1.324 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.9019, allocations: 0 / 1.324 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.9036, allocations: 0.976 MB / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/0.9039, allocations: 123.5 kB / 1.325 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/0.904, allocations: 12.19 kB / 1.325 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.9044, allocations: 39.89 kB / 1.325 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.9045, allocations: 39.92 kB / 1.325 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.9046, allocations: 16 kB / 1.325 GB, free: 13.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004846/0.905, allocations: 379.1 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.905, allocations: 4 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008471/0.9059, allocations: 228 kB / 1.326 GB, free: 13.29 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.0001677/0.9061, allocations: 113.4 kB / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.9081, allocations: 1.232 MB / 1.327 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9081, allocations: 0 / 1.327 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.9094, allocations: 0.8696 MB / 1.328 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.9105, allocations: 223 kB / 1.328 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.9129, allocations: 1.343 MB / 1.33 GB, free: 9.363 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/0.9135, allocations: 1.009 MB / 1.331 GB, free: 8.328 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003932/0.9139, allocations: 133.9 kB / 1.331 GB, free: 8.195 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.914, allocations: 43.44 kB / 1.331 GB, free: 8.152 MB / 1.029 GB Notification: Performance of SimCode: time 1.092e-06/0.914, allocations: 0 / 1.331 GB, free: 8.152 MB / 1.029 GB Notification: Performance of Templates: time 0.02202/0.9361, allocations: 11.83 MB / 1.342 GB, free: 12.45 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.160204796120524]