Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001365/0.001365, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001508/0.001508, allocations: 162.6 kB / 22.46 MB, free: 5.375 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.44/1.44, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.842/2.842, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.788e-05/3.974e-05, allocations: 9.734 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01446/0.0145, allocations: 10.5 MB / 0.9917 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.02505, allocations: 5.597 MB / 0.9972 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.02647, allocations: 71.31 kB / 0.9972 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004814/0.03129, allocations: 1.722 MB / 0.9989 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.03502, allocations: 1.216 MB / 1 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.03757, allocations: 0.8135 MB / 1.001 GB, free: 8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003438/0.04101, allocations: 2.189 MB / 1.003 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.04278, allocations: 1.025 MB / 1.004 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.04496, allocations: 1.208 MB / 1.005 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.04636, allocations: 0.8218 MB / 1.006 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.04656, allocations: 112 kB / 1.006 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.04908, allocations: 1.083 MB / 1.007 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007204/0.0498, allocations: 0.5686 MB / 1.008 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008694/0.05067, allocations: 0.5377 MB / 1.008 GB, free: 420 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004313/0.05498, allocations: 2.48 MB / 1.011 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.05499, allocations: 0 / 1.011 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.05499, allocations: 0 / 1.011 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.011e-05/0.05504, allocations: 0 / 1.011 GB, free: 13.92 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003522/0.05856, allocations: 1.828 MB / 1.012 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.05861, allocations: 12.03 kB / 1.012 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004736/0.06334, allocations: 0.6864 MB / 1.013 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.06527, allocations: 0.9129 MB / 1.014 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.364e-05/0.06536, allocations: 94.89 kB / 1.014 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.06559, allocations: 132.3 kB / 1.014 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003725/0.06931, allocations: 2.404 MB / 1.017 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/0.06937, allocations: 12.06 kB / 1.017 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.06953, allocations: 64.34 kB / 1.017 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002442/0.06977, allocations: 162.2 kB / 1.017 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003032/0.0728, allocations: 1.863 MB / 1.019 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.08459, allocations: 9.176 MB / 1.028 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004518/0.08911, allocations: 1.874 MB / 1.029 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000928/0.09003, allocations: 0.5503 MB / 1.03 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.09019, allocations: 20.98 kB / 1.03 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.09024, allocations: 51.56 kB / 1.03 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=103): time 3.516e-06/0.09024, allocations: 0 / 1.03 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110): time 0.00648/0.09672, allocations: 3.11 MB / 1.033 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.09678, allocations: 64.41 kB / 1.033 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.09794, allocations: 0.8769 MB / 1.034 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.547e-05/0.09802, allocations: 49.7 kB / 1.034 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005635/0.09858, allocations: 0.761 MB / 1.035 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.09892, allocations: 396.6 kB / 1.035 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004206/0.09934, allocations: 291.3 kB / 1.035 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.09947, allocations: 309.1 kB / 1.036 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009613/0.1004, allocations: 0.6129 MB / 1.036 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.1018, allocations: 1.106 MB / 1.037 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.1043, allocations: 1.832 MB / 1.039 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.1043, allocations: 4 kB / 1.039 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003816/0.1082, allocations: 2.097 MB / 1.041 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.1082, allocations: 12 kB / 1.041 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.1082, allocations: 16 kB / 1.041 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009133/0.1091, allocations: 258.8 kB / 1.042 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.1104, allocations: 371.4 kB / 1.042 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.1207, allocations: 10.55 MB / 1.052 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.1221, allocations: 123.8 kB / 1.052 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.1222, allocations: 72.3 kB / 1.052 GB, free: 1.168 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000746/0.1229, allocations: 416.3 kB / 1.053 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.1232, allocations: 131.2 kB / 1.053 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/0.1263, allocations: 1.679 MB / 1.055 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.1263, allocations: 12 kB / 1.055 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1263, allocations: 0 / 1.055 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.1263, allocations: 7.984 kB / 1.055 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005251/0.1316, allocations: 2.93 MB / 1.057 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.1316, allocations: 4 kB / 1.057 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008937/0.1325, allocations: 223.6 kB / 1.058 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007957/0.1333, allocations: 243.1 kB / 1.058 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.227e-05/0.1334, allocations: 28 kB / 1.058 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009355/0.1427, allocations: 10.55 MB / 1.068 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.1427, allocations: 7.938 kB / 1.068 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.1458, allocations: 1.784 MB / 1.07 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005688/0.1464, allocations: 219.1 kB / 1.07 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.1465, allocations: 35.92 kB / 1.07 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/0.1473, allocations: 87.88 kB / 1.07 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.1475, allocations: 108.8 kB / 1.07 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.621e-05/0.1476, allocations: 32 kB / 1.07 GB, free: 13.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000776/0.1484, allocations: 0.5647 MB / 1.071 GB, free: 13 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1484, allocations: 3.938 kB / 1.071 GB, free: 12.99 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001466/0.1498, allocations: 392 kB / 1.071 GB, free: 12.61 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002887/0.1501, allocations: 154.9 kB / 1.071 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003808/0.1539, allocations: 2.395 MB / 1.074 GB, free: 9.953 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.1539, allocations: 0 / 1.074 GB, free: 9.953 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002288/0.1562, allocations: 1.583 MB / 1.075 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.158, allocations: 351 kB / 1.076 GB, free: 7.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.1629, allocations: 2.783 MB / 1.078 GB, free: 5.055 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/0.1637, allocations: 0.7371 MB / 1.079 GB, free: 4.289 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009731/0.1647, allocations: 351 kB / 1.079 GB, free: 3.941 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.165, allocations: 92.48 kB / 1.08 GB, free: 3.852 MB / 1.029 GB Notification: Performance of SimCode: time 1.403e-06/0.165, allocations: 0 / 1.08 GB, free: 3.852 MB / 1.029 GB Notification: Performance of Templates: time 0.0328/0.1978, allocations: 17.23 MB / 1.096 GB, free: 2.992 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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: 8.715185638517141]