Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.763/2.763, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.65e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01423/0.01426, allocations: 10.19 MB / 0.9609 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.02882, allocations: 8.374 MB / 0.9691 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.03034, allocations: 95.12 kB / 0.9692 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005037/0.03538, allocations: 1.668 MB / 0.9708 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005678/0.04106, allocations: 1.624 MB / 0.9724 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.04348, allocations: 0.6779 MB / 0.9731 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003921/0.0474, allocations: 2.362 MB / 0.9754 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.04997, allocations: 1.149 MB / 0.9765 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/0.05355, allocations: 1.528 MB / 0.978 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.05572, allocations: 0.8334 MB / 0.9788 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005405/0.05626, allocations: 136 kB / 0.9789 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.05861, allocations: 0.7482 MB / 0.9797 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0009808/0.0596, allocations: 0.5958 MB / 0.9802 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.06066, allocations: 0.5961 MB / 0.9808 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003795/0.06445, allocations: 2.582 MB / 0.9833 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.06446, allocations: 7.938 kB / 0.9834 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/0.06446, allocations: 0 / 0.9834 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.882e-05/0.0645, allocations: 0 / 0.9834 GB, free: 10.29 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003598/0.0681, allocations: 1.964 MB / 0.9853 GB, free: 8.281 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.06814, allocations: 8.031 kB / 0.9853 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/0.08062, allocations: 2.055 MB / 0.9873 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.08347, allocations: 1.129 MB / 0.9884 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.356e-05/0.08356, allocations: 86.7 kB / 0.9885 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.08382, allocations: 120.3 kB / 0.9886 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006435/0.09025, allocations: 2.701 MB / 0.9912 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.0903, allocations: 15.86 kB / 0.9912 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.09046, allocations: 48 kB / 0.9913 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003927/0.09086, allocations: 126.1 kB / 0.9914 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008238/0.09909, allocations: 2.541 MB / 0.9939 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.113, allocations: 7.471 MB / 1.001 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007022/0.12, allocations: 1.844 MB / 1.003 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003185/0.1232, allocations: 0.9466 MB / 1.004 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.1232, allocations: 12.42 kB / 1.004 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.1233, allocations: 43.06 kB / 1.004 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=53): time 3.186e-06/0.1233, allocations: 4 kB / 1.004 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of matching and sorting (n=81): time 0.03589/0.1592, allocations: 9.109 MB / 1.013 GB, free: 11.54 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.1592, allocations: 64 kB / 1.013 GB, free: 11.46 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.1606, allocations: 0.9592 MB / 1.014 GB, free: 10.49 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.1608, allocations: 45.69 kB / 1.014 GB, free: 10.44 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006585/0.1614, allocations: 0.7619 MB / 1.015 GB, free: 9.672 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.1618, allocations: 285.5 kB / 1.015 GB, free: 9.391 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000439/0.1622, allocations: 202.5 kB / 1.015 GB, free: 9.188 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1624, allocations: 349.9 kB / 1.015 GB, free: 8.84 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00344/0.1658, allocations: 1.083 MB / 1.016 GB, free: 7.754 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003646/0.1695, allocations: 1.313 MB / 1.018 GB, free: 6.348 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007106/0.1766, allocations: 2.405 MB / 1.02 GB, free: 3.844 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.1766, allocations: 4 kB / 1.02 GB, free: 3.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01027/0.1869, allocations: 3.273 MB / 1.023 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.1869, allocations: 8.875 kB / 1.023 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.1869, allocations: 4 kB / 1.023 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003401/0.1903, allocations: 0.8535 MB / 1.024 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/0.1925, allocations: 423.3 kB / 1.025 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.2115, allocations: 15 MB / 1.039 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002547/0.214, allocations: 291.5 kB / 1.04 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.2142, allocations: 55.95 kB / 1.04 GB, free: 15.05 MB / 0.9512 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008443/0.215, allocations: 401.5 kB / 1.04 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.2153, allocations: 135.2 kB / 1.04 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.2256, allocations: 3.201 MB / 1.043 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.2256, allocations: 8 kB / 1.043 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/0.2256, allocations: 11.94 kB / 1.043 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.2256, allocations: 7.984 kB / 1.043 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.2384, allocations: 4.515 MB / 1.048 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.2384, allocations: 4 kB / 1.048 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/0.2402, allocations: 359.7 kB / 1.048 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003039/0.2433, allocations: 0.772 MB / 1.049 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.2434, allocations: 35.91 kB / 1.049 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01832/0.2617, allocations: 14.63 MB / 1.063 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.2617, allocations: 12.06 kB / 1.063 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009679/0.2714, allocations: 3.039 MB / 1.066 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008359/0.2723, allocations: 295 kB / 1.066 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.2725, allocations: 20 kB / 1.066 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/0.2746, allocations: 299.4 kB / 1.067 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002868/0.2749, allocations: 84.44 kB / 1.067 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.275, allocations: 35.97 kB / 1.067 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009515/0.2759, allocations: 0.6346 MB / 1.067 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2759, allocations: 4 kB / 1.067 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001568/0.2775, allocations: 439.9 kB / 1.068 GB, free: 1.086 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002971/0.2778, allocations: 131.1 kB / 1.068 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.009899/0.2877, allocations: 3.55 MB / 1.071 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/0.2877, allocations: 4 kB / 1.071 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00571/0.2934, allocations: 2.332 MB / 1.074 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.2958, allocations: 476.7 kB / 1.074 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.306, allocations: 3.763 MB / 1.078 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.307, allocations: 0.8054 MB / 1.079 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001412/0.3084, allocations: 366.6 kB / 1.079 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.3088, allocations: 96.44 kB / 1.079 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of SimCode: time 9.42e-07/0.3088, allocations: 4 kB / 1.079 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.478/0.7868, allocations: 31.23 MB / 1.11 GB, free: 142.3 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.353563953191042]