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.001633/0.001633, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001666/0.001666, allocations: 165 kB / 23.82 MB, free: 0.7422 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.068/1.068, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.822/1.822, allocations: 359 MB / 0.6052 GB, free: 11.02 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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.6e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003978/0.004004, allocations: 3.845 MB / 0.7908 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.00601, allocations: 1.424 MB / 0.7922 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.006235, allocations: 35.62 kB / 0.7923 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004971/0.006732, allocations: 167.5 kB / 0.7924 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004618/0.007194, allocations: 355.5 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.007604, allocations: 349.7 kB / 0.7931 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006904/0.008294, allocations: 0.9525 MB / 0.794 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00062/0.008914, allocations: 322.4 kB / 0.7943 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004384/0.009353, allocations: 495.9 kB / 0.7948 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.009659, allocations: 307 kB / 0.7951 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.76e-05/0.009707, allocations: 41.59 kB / 0.7951 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.009862, allocations: 111.8 kB / 0.7953 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.009991, allocations: 187.3 kB / 0.7954 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.01014, allocations: 211.5 kB / 0.7956 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004346/0.01058, allocations: 0.5231 MB / 0.7961 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.01058, allocations: 0 / 0.7961 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.42e-07/0.01058, allocations: 3.938 kB / 0.7961 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.01059, allocations: 0 / 0.7961 GB, free: 3.18 MB / 0.7448 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.000828/0.01141, allocations: 0.9494 MB / 0.7971 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.01145, allocations: 9.281 kB / 0.7971 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007387/0.01219, allocations: 288 kB / 0.7974 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/0.01274, allocations: 0.5201 MB / 0.7979 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.01276, allocations: 29.38 kB / 0.7979 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.01282, allocations: 58.45 kB / 0.798 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/0.01342, allocations: 0.8495 MB / 0.7988 GB, free: 228 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.01344, allocations: 8.125 kB / 0.7988 GB, free: 220 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.01347, allocations: 24.36 kB / 0.7988 GB, free: 196 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.015e-05/0.01354, allocations: 68.89 kB / 0.7989 GB, free: 128 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.0139, allocations: 305.2 kB / 0.7992 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.0166, allocations: 6.3 MB / 0.8053 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.0169, allocations: 271 kB / 0.8056 GB, free: 9.023 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.017, allocations: 79.66 kB / 0.8057 GB, free: 8.941 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.01703, allocations: 11.94 kB / 0.8057 GB, free: 8.93 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.01705, allocations: 40.42 kB / 0.8057 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 1.363e-06/0.01705, allocations: 0 / 0.8057 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001111/0.01816, allocations: 0.6999 MB / 0.8064 GB, free: 8.156 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.01819, allocations: 55.69 kB / 0.8064 GB, free: 8.09 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.01849, allocations: 0.5073 MB / 0.8069 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.0185, allocations: 29.7 kB / 0.807 GB, free: 7.531 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.01867, allocations: 411 kB / 0.8074 GB, free: 7.121 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.01873, allocations: 128 kB / 0.8075 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/0.01882, allocations: 111.9 kB / 0.8076 GB, free: 6.879 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.01895, allocations: 0.5398 MB / 0.8081 GB, free: 6.328 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.01906, allocations: 85.27 kB / 0.8082 GB, free: 6.246 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.01946, allocations: 451.3 kB / 0.8086 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.01987, allocations: 0.5852 MB / 0.8092 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.01988, allocations: 8 kB / 0.8092 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006316/0.02051, allocations: 0.612 MB / 0.8098 GB, free: 4.254 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.02053, allocations: 8 kB / 0.8098 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.02053, allocations: 8.844 kB / 0.8098 GB, free: 4.238 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.02082, allocations: 130.3 kB / 0.8099 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.02107, allocations: 127.7 kB / 0.8101 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.02322, allocations: 5.251 MB / 0.8152 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.02339, allocations: 39.97 kB / 0.8152 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.02342, allocations: 28 kB / 0.8153 GB, free: 14.28 MB / 0.7761 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.0001267/0.02355, allocations: 196.3 kB / 0.8154 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.02361, allocations: 67.62 kB / 0.8155 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004362/0.02404, allocations: 377.2 kB / 0.8159 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.02405, allocations: 4 kB / 0.8159 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.02405, allocations: 3.938 kB / 0.8159 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.02405, allocations: 3.984 kB / 0.8159 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008314/0.02488, allocations: 0.8921 MB / 0.8167 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.02489, allocations: 4 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.02501, allocations: 55.89 kB / 0.8168 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002119/0.02522, allocations: 122.5 kB / 0.8169 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.02524, allocations: 12 kB / 0.8169 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.0272, allocations: 5.236 MB / 0.822 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.02721, allocations: 7.984 kB / 0.8221 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.02769, allocations: 0.5624 MB / 0.8226 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.02779, allocations: 79.62 kB / 0.8227 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.02782, allocations: 8 kB / 0.8227 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.02794, allocations: 27.97 kB / 0.8227 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.02799, allocations: 35.88 kB / 0.8227 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.028, allocations: 12 kB / 0.8228 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001827/0.02819, allocations: 322.8 kB / 0.8231 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02819, allocations: 0 / 0.8231 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003772/0.02856, allocations: 140 kB / 0.8232 GB, free: 5.555 MB / 0.7761 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.0001018/0.02867, allocations: 115.2 kB / 0.8233 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000711/0.02938, allocations: 0.8431 MB / 0.8241 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02938, allocations: 4.125 kB / 0.8241 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.02976, allocations: 0.6644 MB / 0.8248 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.0303, allocations: 190.2 kB / 0.825 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.0315, allocations: 0.9879 MB / 0.8259 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.48e-05/0.03159, allocations: 158 kB / 0.8261 GB, free: 2.379 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.03177, allocations: 101.1 kB / 0.8262 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.03183, allocations: 36.5 kB / 0.8262 GB, free: 2.238 MB / 0.7761 GB Notification: Performance of SimCode: time 9.91e-07/0.03183, allocations: 0 / 0.8262 GB, free: 2.238 MB / 0.7761 GB Notification: Performance of Templates: time 0.009848/0.04168, allocations: 7.872 MB / 0.8339 GB, free: 10.59 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.499780606944114]