Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001421/0.001421, allocations: 88.72 kB / 19.44 MB, free: 348 kB / 13.93 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.001698/0.001698, allocations: 157.7 kB / 22.75 MB, free: 1.676 MB / 18.57 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.734/1.734, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.237/3.237, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8776 GB, free: 5.363 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.892e-05, allocations: 5.094 kB / 0.8776 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.008028/0.008057, allocations: 4.617 MB / 0.8821 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.005079/0.01314, allocations: 2.426 MB / 0.8845 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004883/0.01362, allocations: 35.62 kB / 0.8845 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.01505, allocations: 403.9 kB / 0.8849 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.01641, allocations: 489.4 kB / 0.8853 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.01751, allocations: 406 kB / 0.8857 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001583/0.01909, allocations: 0.9486 MB / 0.8867 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006949/0.01978, allocations: 328 kB / 0.887 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000986/0.02077, allocations: 490.6 kB / 0.8874 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006369/0.02141, allocations: 315.5 kB / 0.8877 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.747e-05/0.0215, allocations: 37.34 kB / 0.8878 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007491/0.02225, allocations: 367 kB / 0.8881 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002665/0.02252, allocations: 191.4 kB / 0.8883 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.000357/0.02288, allocations: 211.4 kB / 0.8885 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.0244, allocations: 0.9087 MB / 0.8894 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.02441, allocations: 0 / 0.8894 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.012e-06/0.02441, allocations: 0 / 0.8894 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.696e-05/0.02444, allocations: 4 kB / 0.8894 GB, free: 9.254 MB / 0.8073 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.001891/0.02633, allocations: 0.8857 MB / 0.8903 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.02637, allocations: 12.03 kB / 0.8903 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.0279, allocations: 291.9 kB / 0.8906 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.02893, allocations: 0.5117 MB / 0.8911 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.046e-05/0.02898, allocations: 37.36 kB / 0.8911 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.02909, allocations: 48.3 kB / 0.8911 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.03057, allocations: 0.9705 MB / 0.8921 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.0306, allocations: 8.125 kB / 0.8921 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/0.03066, allocations: 20.38 kB / 0.8921 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.03078, allocations: 76.83 kB / 0.8922 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.03181, allocations: 0.5617 MB / 0.8927 GB, free: 5.617 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005329/0.03713, allocations: 4.627 MB / 0.8973 GB, free: 0.8047 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007408/0.03787, allocations: 422.3 kB / 0.8977 GB, free: 392 kB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.03823, allocations: 201.3 kB / 0.8978 GB, free: 188 kB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.03827, allocations: 11.98 kB / 0.8979 GB, free: 176 kB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.0383, allocations: 34.56 kB / 0.8979 GB, free: 132 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.03831, allocations: 0 / 0.8979 GB, free: 132 kB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.002869/0.04117, allocations: 1.142 MB / 0.899 GB, free: 14.96 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.04124, allocations: 59.67 kB / 0.8991 GB, free: 14.89 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.0419, allocations: 474.7 kB / 0.8995 GB, free: 14.42 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.04194, allocations: 33.69 kB / 0.8995 GB, free: 14.38 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.0423, allocations: 364.3 kB / 0.8999 GB, free: 14.02 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.04244, allocations: 131 kB / 0.9 GB, free: 13.89 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.04264, allocations: 110.2 kB / 0.9001 GB, free: 13.78 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002294/0.04286, allocations: 370.7 kB / 0.9005 GB, free: 13.41 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.04321, allocations: 197.2 kB / 0.9007 GB, free: 13.21 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/0.04378, allocations: 447.2 kB / 0.9011 GB, free: 12.66 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.04481, allocations: 0.6841 MB / 0.9018 GB, free: 11.86 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.04482, allocations: 7.984 kB / 0.9018 GB, free: 11.86 MB / 0.823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001587/0.04641, allocations: 0.838 MB / 0.9026 GB, free: 11 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.04643, allocations: 8 kB / 0.9026 GB, free: 10.99 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.04645, allocations: 8 kB / 0.9026 GB, free: 10.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/0.04706, allocations: 160.1 kB / 0.9028 GB, free: 10.81 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.04754, allocations: 119.9 kB / 0.9029 GB, free: 10.69 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004273/0.05182, allocations: 3.973 MB / 0.9068 GB, free: 6.414 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.05222, allocations: 35.97 kB / 0.9068 GB, free: 6.379 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.05227, allocations: 28 kB / 0.9068 GB, free: 6.352 MB / 0.823 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.0003054/0.05258, allocations: 213.7 kB / 0.907 GB, free: 6.133 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.05272, allocations: 71.62 kB / 0.9071 GB, free: 6.062 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.05393, allocations: 0.5886 MB / 0.9077 GB, free: 5.449 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.05394, allocations: 8 kB / 0.9077 GB, free: 5.441 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.05395, allocations: 3.938 kB / 0.9077 GB, free: 5.438 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.05395, allocations: 7.984 kB / 0.9077 GB, free: 5.43 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.05599, allocations: 1.119 MB / 0.9088 GB, free: 4.238 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.056, allocations: 8.062 kB / 0.9088 GB, free: 4.23 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.05628, allocations: 51.89 kB / 0.9088 GB, free: 4.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005029/0.05678, allocations: 144.2 kB / 0.909 GB, free: 4.023 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.05681, allocations: 8 kB / 0.909 GB, free: 4.016 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004242/0.06105, allocations: 3.954 MB / 0.9128 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.06106, allocations: 8.016 kB / 0.9128 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.06231, allocations: 0.7123 MB / 0.9135 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.06254, allocations: 87.58 kB / 0.9136 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.445e-05/0.06262, allocations: 11.98 kB / 0.9136 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.06289, allocations: 19.98 kB / 0.9137 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/0.06298, allocations: 43.97 kB / 0.9137 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.06301, allocations: 12 kB / 0.9137 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004002/0.06341, allocations: 306.9 kB / 0.914 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.06341, allocations: 0 / 0.914 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007166/0.06413, allocations: 147.9 kB / 0.9141 GB, free: 14.37 MB / 0.8386 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.0001689/0.0643, allocations: 107.2 kB / 0.9142 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.06592, allocations: 0.8586 MB / 0.9151 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.06592, allocations: 0 / 0.9151 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009399/0.06686, allocations: 0.5686 MB / 0.9156 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.0679, allocations: 199.1 kB / 0.9158 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.06995, allocations: 1.064 MB / 0.9169 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.07034, allocations: 311.9 kB / 0.9172 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003656/0.0707, allocations: 125 kB / 0.9173 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.07082, allocations: 36.5 kB / 0.9173 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/0.07082, allocations: 4 kB / 0.9173 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of Templates: time 0.01647/0.08729, allocations: 7.8 MB / 0.9249 GB, free: 3.336 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.560733032994904]