Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.00196/0.00196, allocations: 76.84 kB / 19.18 MB, free: 2.527 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.00239/0.00239, allocations: 174 kB / 22.46 MB, free: 5.355 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.492/1.492, 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.852/2.852, allocations: 377.8 MB / 0.6221 GB, free: 12.55 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.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.875e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006838/0.006867, allocations: 4.607 MB / 0.9859 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004376/0.01124, allocations: 2.42 MB / 0.9883 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.0115, allocations: 35.62 kB / 0.9883 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.01275, allocations: 401.8 kB / 0.9887 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.01395, allocations: 493 kB / 0.9892 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.015, allocations: 406 kB / 0.9896 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.01639, allocations: 0.9525 MB / 0.9905 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006287/0.01702, allocations: 326.3 kB / 0.9908 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007693/0.01779, allocations: 486.7 kB / 0.9913 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005771/0.01837, allocations: 311.1 kB / 0.9916 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.174e-05/0.01845, allocations: 40 kB / 0.9916 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008096/0.01926, allocations: 370.9 kB / 0.992 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.01949, allocations: 191.3 kB / 0.9921 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.01976, allocations: 211.5 kB / 0.9923 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.02084, allocations: 0.9033 MB / 0.9932 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.02084, allocations: 0 / 0.9932 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.02084, allocations: 0 / 0.9932 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.02086, allocations: 0 / 0.9932 GB, free: 15.81 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001454/0.02231, allocations: 0.8895 MB / 0.9941 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.02235, allocations: 12.03 kB / 0.9941 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.02367, allocations: 220.2 kB / 0.9943 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008561/0.02453, allocations: 492 kB / 0.9948 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.02456, allocations: 33.36 kB / 0.9948 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-05/0.02464, allocations: 48.34 kB / 0.9949 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.02596, allocations: 0.9666 MB / 0.9958 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.02598, allocations: 8.125 kB / 0.9958 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.02604, allocations: 24.38 kB / 0.9958 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.02614, allocations: 64.89 kB / 0.9959 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/0.02707, allocations: 0.5733 MB / 0.9965 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004467/0.03154, allocations: 4.627 MB / 1.001 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.03227, allocations: 422.3 kB / 1.001 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.03259, allocations: 200.7 kB / 1.002 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.03262, allocations: 8 kB / 1.002 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.03266, allocations: 30.56 kB / 1.002 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 1.724e-06/0.03266, allocations: 4 kB / 1.002 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002599/0.03526, allocations: 1.133 MB / 1.003 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.03531, allocations: 55.69 kB / 1.003 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.03587, allocations: 478.7 kB / 1.003 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.03591, allocations: 29.7 kB / 1.003 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.03621, allocations: 372.2 kB / 1.004 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.03634, allocations: 126.9 kB / 1.004 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.03652, allocations: 114.2 kB / 1.004 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.03672, allocations: 362.7 kB / 1.004 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.03703, allocations: 193.2 kB / 1.004 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.03758, allocations: 447.3 kB / 1.005 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009326/0.03851, allocations: 0.6959 MB / 1.005 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.03851, allocations: 0 / 1.005 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001377/0.03989, allocations: 0.802 MB / 1.006 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.03992, allocations: 16.22 kB / 1.006 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.03993, allocations: 8 kB / 1.006 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005358/0.04047, allocations: 148.2 kB / 1.006 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.04095, allocations: 127.7 kB / 1.007 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/0.04494, allocations: 3.969 MB / 1.01 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.04532, allocations: 35.97 kB / 1.01 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.04536, allocations: 31.94 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.000281/0.04565, allocations: 208.3 kB / 1.011 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.863e-05/0.04574, allocations: 59.62 kB / 1.011 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.04687, allocations: 0.5967 MB / 1.011 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.04687, allocations: 8 kB / 1.011 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.04688, allocations: 3.938 kB / 1.011 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.04688, allocations: 11.97 kB / 1.011 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.04868, allocations: 1.113 MB / 1.012 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.04869, allocations: 4 kB / 1.012 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.04896, allocations: 55.89 kB / 1.012 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/0.04942, allocations: 144.4 kB / 1.013 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.04944, allocations: 8 kB / 1.013 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/0.05313, allocations: 3.95 MB / 1.016 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.05313, allocations: 0 / 1.016 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.05427, allocations: 0.7043 MB / 1.017 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.05447, allocations: 95.5 kB / 1.017 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/0.05454, allocations: 8 kB / 1.017 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.05481, allocations: 27.97 kB / 1.017 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.05489, allocations: 39.81 kB / 1.017 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.05491, allocations: 8 kB / 1.017 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003595/0.05527, allocations: 310.9 kB / 1.018 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.05527, allocations: 0 / 1.018 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006512/0.05592, allocations: 140 kB / 1.018 GB, free: 5.102 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001595/0.05608, allocations: 111.2 kB / 1.018 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.0576, allocations: 0.8503 MB / 1.019 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.0576, allocations: 0 / 1.019 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009097/0.05851, allocations: 0.5688 MB / 1.019 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.05952, allocations: 198.3 kB / 1.019 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.06133, allocations: 1.054 MB / 1.02 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.06169, allocations: 315.9 kB / 1.021 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003164/0.06201, allocations: 113.1 kB / 1.021 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.06211, allocations: 40.5 kB / 1.021 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.06211, allocations: 3.938 kB / 1.021 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of Templates: time 0.01594/0.07805, allocations: 7.766 MB / 1.029 GB, free: 10.16 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.181693390011787]