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.001503/0.001503, allocations: 117.8 kB / 17.13 MB, free: 5.758 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.001594/0.001594, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.474/1.474, allocations: 225.6 MB / 248.5 MB, free: 3.637 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.737/2.737, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5763 GB " [Timeout remaining time 176] 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_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.002096/0.002096, allocations: 71.88 kB / 1.057 GB, free: 2.066 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3207, allocations: 160.7 MB / 1.214 GB, free: 1.043 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009826/0.3306, allocations: 6.837 MB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005876/0.3364, allocations: 3.075 MB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008207/0.3373, allocations: 27.81 kB / 1.224 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.3401, allocations: 0.9644 MB / 1.225 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.3417, allocations: 0.5206 MB / 1.225 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.3429, allocations: 422.8 kB / 1.226 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.3446, allocations: 1.228 MB / 1.227 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008703/0.3454, allocations: 0.5374 MB / 1.227 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006368/0.3461, allocations: 478.3 kB / 1.228 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007687/0.3468, allocations: 0.5409 MB / 1.228 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.3469, allocations: 68 kB / 1.228 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000773/0.3477, allocations: 387.2 kB / 1.229 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003272/0.348, allocations: 319.1 kB / 1.229 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.3485, allocations: 449.8 kB / 1.229 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.3499, allocations: 1.226 MB / 1.231 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3499, allocations: 4 kB / 1.231 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3499, allocations: 0 / 1.231 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.3499, allocations: 0 / 1.231 GB, free: 15.93 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.002053/0.352, allocations: 1.183 MB / 1.232 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.352, allocations: 15.98 kB / 1.232 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.3536, allocations: 244.1 kB / 1.232 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009389/0.3546, allocations: 0.5925 MB / 1.233 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.3546, allocations: 49.67 kB / 1.233 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.3547, allocations: 68.36 kB / 1.233 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.3564, allocations: 1.089 MB / 1.234 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.3564, allocations: 7.953 kB / 1.234 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/0.3565, allocations: 31.98 kB / 1.234 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/0.3567, allocations: 85.19 kB / 1.234 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.3579, allocations: 0.7543 MB / 1.235 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005959/0.3638, allocations: 5.882 MB / 1.24 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3648, allocations: 0.5102 MB / 1.241 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004321/0.3653, allocations: 286 kB / 1.241 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.3653, allocations: 4.438 kB / 1.241 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3653, allocations: 39 kB / 1.241 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 1.763e-06/0.3653, allocations: 0 / 1.241 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.004084/0.3694, allocations: 1.988 MB / 1.243 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.3695, allocations: 55.84 kB / 1.243 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/0.3702, allocations: 0.5586 MB / 1.244 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.3702, allocations: 33.7 kB / 1.244 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.3705, allocations: 432 kB / 1.244 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.3707, allocations: 182.5 kB / 1.244 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.3709, allocations: 126.6 kB / 1.245 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.3711, allocations: 378.7 kB / 1.245 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.3715, allocations: 273.9 kB / 1.245 GB, free: 320 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.3721, allocations: 0.4892 MB / 1.246 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.3732, allocations: 0.8054 MB / 1.246 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3732, allocations: 8 kB / 1.246 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001894/0.3751, allocations: 1.071 MB / 1.247 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3751, allocations: 8.875 kB / 1.247 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.3751, allocations: 8 kB / 1.248 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009214/0.3761, allocations: 279.2 kB / 1.248 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.3766, allocations: 127.7 kB / 1.248 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007284/0.3838, allocations: 7.139 MB / 1.255 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006304/0.3845, allocations: 40.03 kB / 1.255 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/0.3845, allocations: 28 kB / 1.255 GB, free: 5.539 MB / 0.9981 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.0004258/0.385, allocations: 249.5 kB / 1.255 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.3851, allocations: 75.52 kB / 1.255 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.3867, allocations: 0.8845 MB / 1.256 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3867, allocations: 4 kB / 1.256 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3867, allocations: 4 kB / 1.256 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3867, allocations: 3.984 kB / 1.256 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.3894, allocations: 1.709 MB / 1.258 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.3894, allocations: 4 kB / 1.258 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.3897, allocations: 72.02 kB / 1.258 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007819/0.3905, allocations: 259.2 kB / 1.258 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.3905, allocations: 12 kB / 1.258 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.704/1.095, allocations: 7.128 MB / 1.265 GB, free: 44.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.095, allocations: 0 / 1.265 GB, free: 44.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/1.096, allocations: 0.9792 MB / 1.266 GB, free: 43.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/1.096, allocations: 198.2 kB / 1.266 GB, free: 43.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/1.096, allocations: 8.031 kB / 1.266 GB, free: 43.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/1.097, allocations: 32.58 kB / 1.266 GB, free: 43.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/1.097, allocations: 45.17 kB / 1.266 GB, free: 43.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/1.097, allocations: 14.72 kB / 1.266 GB, free: 43.72 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004072/1.097, allocations: 389.1 kB / 1.267 GB, free: 43.62 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.097, allocations: 0 / 1.267 GB, free: 43.62 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008271/1.098, allocations: 222.3 kB / 1.267 GB, free: 43.62 MB / 0.9981 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.0001501/1.098, allocations: 115.4 kB / 1.267 GB, free: 43.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001753/1.1, allocations: 1.231 MB / 1.268 GB, free: 43.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.1, allocations: 2.938 kB / 1.268 GB, free: 43.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/1.101, allocations: 0.8708 MB / 1.269 GB, free: 42.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/1.102, allocations: 207.2 kB / 1.269 GB, free: 42.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/1.105, allocations: 1.409 MB / 1.271 GB, free: 42.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006806/1.105, allocations: 1.006 MB / 1.272 GB, free: 41.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/1.106, allocations: 47 kB / 1.272 GB, free: 41.31 MB / 0.9981 GB Notification: Performance of SimCode: time 1.913e-06/1.106, allocations: 0 / 1.272 GB, free: 41.31 MB / 0.9981 GB Notification: Performance of Templates: time 0.0431/1.149, allocations: 20.75 MB / 1.292 GB, free: 39.42 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.87003649584949]