Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008727/0.0008727, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008647/0.0008647, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8608/0.8608, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.652/1.652, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/3.037e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004769/0.004799, allocations: 4.611 MB / 0.9562 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.007964, allocations: 2.413 MB / 0.9586 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004258/0.008389, allocations: 39.56 kB / 0.9586 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009103/0.0093, allocations: 401.8 kB / 0.959 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.01043, allocations: 489.1 kB / 0.9595 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007907/0.01122, allocations: 406.3 kB / 0.9599 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000872/0.01209, allocations: 0.9602 MB / 0.9608 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000456/0.01255, allocations: 318.4 kB / 0.9611 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005675/0.01312, allocations: 498.6 kB / 0.9616 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003596/0.01347, allocations: 307 kB / 0.9619 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.01352, allocations: 36 kB / 0.9619 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006296/0.01415, allocations: 367 kB / 0.9623 GB, free: 8.164 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.01432, allocations: 203.3 kB / 0.9625 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.01448, allocations: 207.4 kB / 0.9626 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008653/0.01534, allocations: 0.915 MB / 0.9635 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.01535, allocations: 0 / 0.9635 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.944e-06/0.01535, allocations: 0 / 0.9635 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.01536, allocations: 0 / 0.9635 GB, free: 6.844 MB / 0.9167 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.001111/0.01647, allocations: 0.8857 MB / 0.9644 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.01652, allocations: 8.031 kB / 0.9644 GB, free: 5.918 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007466/0.01727, allocations: 220.1 kB / 0.9646 GB, free: 5.703 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.01786, allocations: 480.1 kB / 0.9651 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.0179, allocations: 37.36 kB / 0.9651 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.01797, allocations: 44.33 kB / 0.9652 GB, free: 5.133 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008455/0.01881, allocations: 0.9781 MB / 0.9661 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.01883, allocations: 4.125 kB / 0.9661 GB, free: 3.988 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.01887, allocations: 24.36 kB / 0.9661 GB, free: 3.965 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.724e-05/0.01894, allocations: 72.89 kB / 0.9662 GB, free: 3.895 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007616/0.0197, allocations: 0.5656 MB / 0.9668 GB, free: 3.328 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.0225, allocations: 4.623 MB / 0.9713 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.02296, allocations: 414.3 kB / 0.9717 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.02316, allocations: 204.7 kB / 0.9719 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.02319, allocations: 4.469 kB / 0.9719 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.02322, allocations: 38.56 kB / 0.9719 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=32): time 2.915e-06/0.02323, allocations: 0 / 0.9719 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.001679/0.02491, allocations: 1.13 MB / 0.973 GB, free: 12.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.02495, allocations: 63.67 kB / 0.9731 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/0.02541, allocations: 478.7 kB / 0.9735 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.02544, allocations: 29.7 kB / 0.9736 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.02562, allocations: 368.3 kB / 0.9739 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.02568, allocations: 126.9 kB / 0.974 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.02579, allocations: 118.2 kB / 0.9741 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.02589, allocations: 366.7 kB / 0.9745 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.02608, allocations: 197.2 kB / 0.9747 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.02638, allocations: 447.3 kB / 0.9751 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.02693, allocations: 0.6802 MB / 0.9758 GB, free: 9.59 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.02694, allocations: 4 kB / 0.9758 GB, free: 9.586 MB / 0.9323 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000838/0.02778, allocations: 0.8097 MB / 0.9766 GB, free: 8.754 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.0278, allocations: 8 kB / 0.9766 GB, free: 8.746 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.02782, allocations: 8 kB / 0.9766 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/0.02815, allocations: 152.7 kB / 0.9767 GB, free: 8.574 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.02842, allocations: 127.7 kB / 0.9769 GB, free: 8.449 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.0308, allocations: 3.965 MB / 0.9807 GB, free: 4.176 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.03107, allocations: 35.91 kB / 0.9808 GB, free: 4.141 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.03109, allocations: 28 kB / 0.9808 GB, free: 4.113 MB / 0.9323 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.0002415/0.03134, allocations: 217.8 kB / 0.981 GB, free: 3.891 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.0314, allocations: 63.62 kB / 0.9811 GB, free: 3.828 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006434/0.03204, allocations: 0.5925 MB / 0.9816 GB, free: 3.215 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.03205, allocations: 4 kB / 0.9816 GB, free: 3.211 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.03205, allocations: 3.938 kB / 0.9816 GB, free: 3.207 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.03205, allocations: 0 / 0.9816 GB, free: 3.207 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.03319, allocations: 1.117 MB / 0.9827 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.03319, allocations: 3.984 kB / 0.9827 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.03332, allocations: 55.89 kB / 0.9828 GB, free: 1.957 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002378/0.03356, allocations: 140.1 kB / 0.9829 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.03358, allocations: 8 kB / 0.9829 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.03553, allocations: 3.949 MB / 0.9868 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.03553, allocations: 4.031 kB / 0.9868 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.03626, allocations: 0.7047 MB / 0.9875 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.03641, allocations: 87.58 kB / 0.9876 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.03643, allocations: 8 kB / 0.9876 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.03657, allocations: 19.97 kB / 0.9876 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.03663, allocations: 43.83 kB / 0.9876 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.03664, allocations: 12.03 kB / 0.9876 GB, free: 12.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002255/0.03686, allocations: 310.9 kB / 0.9879 GB, free: 12.31 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.03686, allocations: 4 kB / 0.9879 GB, free: 12.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004861/0.03735, allocations: 136 kB / 0.9881 GB, free: 12.17 MB / 0.948 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.000146/0.0375, allocations: 119.4 kB / 0.9882 GB, free: 12.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009202/0.03842, allocations: 0.8585 MB / 0.989 GB, free: 11.14 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.03842, allocations: 4.125 kB / 0.989 GB, free: 11.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.03884, allocations: 0.564 MB / 0.9896 GB, free: 10.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.03947, allocations: 208.6 kB / 0.9898 GB, free: 10.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.04075, allocations: 1.095 MB / 0.9908 GB, free: 9.188 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.04096, allocations: 311.9 kB / 0.9911 GB, free: 8.855 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.04104, allocations: 40.5 kB / 0.9912 GB, free: 8.816 MB / 0.948 GB Notification: Performance of SimCode: time 1.583e-06/0.04104, allocations: 0 / 0.9912 GB, free: 8.816 MB / 0.948 GB Notification: Performance of Templates: time 0.01501/0.05605, allocations: 18.4 MB / 1.009 GB, free: 6.445 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.131877996958792]