Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001313/0.001313, allocations: 114 kB / 17.08 MB, free: 5.988 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.001389/0.001389, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.466/1.466, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.79/2.79, allocations: 437.1 MB / 0.7177 GB, free: 4.488 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_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.88 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.36, allocations: 151.6 MB / 1.176 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008628/0.3687, allocations: 6.092 MB / 1.182 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005763/0.3745, allocations: 3.141 MB / 1.185 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005258/0.3751, allocations: 27.81 kB / 1.185 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002513/0.3776, allocations: 0.941 MB / 1.186 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.3789, allocations: 473.5 kB / 1.186 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.3802, allocations: 478.8 kB / 1.187 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.3815, allocations: 1.092 MB / 1.188 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009226/0.3824, allocations: 0.6465 MB / 1.188 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005345/0.383, allocations: 438.4 kB / 1.189 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005983/0.3836, allocations: 470.2 kB / 1.189 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.036e-05/0.3837, allocations: 60 kB / 1.189 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000881/0.3846, allocations: 487 kB / 1.19 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.3849, allocations: 291.2 kB / 1.19 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.3853, allocations: 397.9 kB / 1.19 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.3866, allocations: 1.175 MB / 1.192 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3867, allocations: 0 / 1.192 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3867, allocations: 0 / 1.192 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.3867, allocations: 0 / 1.192 GB, free: 5.684 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001676/0.3884, allocations: 1.074 MB / 1.193 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3884, allocations: 15.98 kB / 1.193 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.3899, allocations: 224.1 kB / 1.193 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008686/0.3907, allocations: 0.5849 MB / 1.193 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.3908, allocations: 49.67 kB / 1.193 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.3909, allocations: 60.38 kB / 1.194 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.3923, allocations: 1.034 MB / 1.195 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.3924, allocations: 19.81 kB / 1.195 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.936e-05/0.3924, allocations: 27.98 kB / 1.195 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.969e-05/0.3925, allocations: 69.28 kB / 1.195 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.3936, allocations: 0.6918 MB / 1.195 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005193/0.3988, allocations: 5.734 MB / 1.201 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008559/0.3997, allocations: 0.5981 MB / 1.202 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008134/0.4005, allocations: 425.3 kB / 1.202 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.4005, allocations: 7.984 kB / 1.202 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.4006, allocations: 46.34 kB / 1.202 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=41): time 2.845e-06/0.4006, allocations: 0 / 1.202 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42): time 0.004292/0.4049, allocations: 2.019 MB / 1.204 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.405, allocations: 63.17 kB / 1.204 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.4055, allocations: 454.7 kB / 1.204 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.4055, allocations: 33.7 kB / 1.204 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.4058, allocations: 396.1 kB / 1.205 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.406, allocations: 162.6 kB / 1.205 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.4061, allocations: 122.2 kB / 1.205 GB, free: 7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.4063, allocations: 362.8 kB / 1.205 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.4067, allocations: 237.2 kB / 1.206 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/0.4072, allocations: 461 kB / 1.206 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009624/0.4082, allocations: 0.7441 MB / 1.207 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4082, allocations: 4 kB / 1.207 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001822/0.41, allocations: 1.047 MB / 1.208 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4101, allocations: 8 kB / 1.208 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4101, allocations: 8 kB / 1.208 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009912/0.4111, allocations: 319.2 kB / 1.208 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.4114, allocations: 95.83 kB / 1.208 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007822/0.4192, allocations: 7.471 MB / 1.216 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.4197, allocations: 32.3 kB / 1.216 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.4198, allocations: 24.14 kB / 1.216 GB, free: 11.43 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003768/0.4201, allocations: 249.5 kB / 1.216 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.4202, allocations: 67.55 kB / 1.216 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.422, allocations: 0.8925 MB / 1.217 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.422, allocations: 8 kB / 1.217 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.422, allocations: 4 kB / 1.217 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.422, allocations: 3.984 kB / 1.217 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.4247, allocations: 1.673 MB / 1.218 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4247, allocations: 0 / 1.218 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.4249, allocations: 43.91 kB / 1.219 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009052/0.4258, allocations: 299.3 kB / 1.219 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.4258, allocations: 12 kB / 1.219 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007551/0.4334, allocations: 7.478 MB / 1.226 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4334, allocations: 3.938 kB / 1.226 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.4351, allocations: 0.992 MB / 1.227 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.4354, allocations: 180.6 kB / 1.227 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.518e-05/0.4355, allocations: 15.95 kB / 1.227 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.4358, allocations: 23.97 kB / 1.227 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.4359, allocations: 43.83 kB / 1.227 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.4359, allocations: 12 kB / 1.227 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003554/0.4363, allocations: 310.9 kB / 1.228 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4363, allocations: 0 / 1.228 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008916/0.4372, allocations: 196 kB / 1.228 GB, free: 14.2 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.4374, allocations: 107.2 kB / 1.228 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001921/0.4393, allocations: 1.199 MB / 1.229 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4393, allocations: 4.125 kB / 1.229 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.4405, allocations: 0.8656 MB / 1.23 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4416, allocations: 201.6 kB / 1.23 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.4439, allocations: 1.301 MB / 1.231 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.4446, allocations: 0.992 MB / 1.232 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.977e-05/0.4447, allocations: 39.44 kB / 1.232 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of SimCode: time 4.237e-06/0.4447, allocations: 0 / 1.232 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of Templates: time 0.0237/0.4684, allocations: 18.47 MB / 1.25 GB, free: 6.848 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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],load_sc.i[1],load_sc.i[2],R2.i[1],R2.i[2],R3.i[1],R3.i[2] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time [Calling sys.exit(0), Time elapsed: 13.679236833006144]