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.0008842/0.0008842, allocations: 93.06 kB / 19.65 MB, free: 276 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.0008957/0.0008957, allocations: 169 kB / 23.02 MB, free: 1.539 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.8935/0.8935, allocations: 177.1 MB / 203.4 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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 1.953/1.953, allocations: 429.5 MB / 0.6733 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 178] 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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.098e-05, allocations: 5.547 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005318/0.005339, allocations: 3.858 MB / 0.8819 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002619/0.007958, allocations: 1.412 MB / 0.8833 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.008266, allocations: 39.56 kB / 0.8834 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006212/0.008888, allocations: 163.8 kB / 0.8835 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0007007/0.009588, allocations: 359.4 kB / 0.8838 GB, free: 480 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006442/0.01023, allocations: 348.5 kB / 0.8842 GB, free: 132 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.01127, allocations: 0.9492 MB / 0.8851 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004936/0.01176, allocations: 323.5 kB / 0.8854 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006484/0.01241, allocations: 0.4908 MB / 0.8859 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004895/0.0129, allocations: 328.6 kB / 0.8862 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.3e-05/0.01298, allocations: 36.81 kB / 0.8862 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.01321, allocations: 111.7 kB / 0.8864 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.01339, allocations: 192.3 kB / 0.8865 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.01362, allocations: 211.4 kB / 0.8867 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006469/0.01427, allocations: 0.5059 MB / 0.8872 GB, free: 13 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.01427, allocations: 4 kB / 0.8872 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.42e-07/0.01427, allocations: 0 / 0.8872 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.01428, allocations: 4 kB / 0.8872 GB, free: 12.99 MB / 0.8542 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.001216/0.0155, allocations: 0.9507 MB / 0.8882 GB, free: 12 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.01554, allocations: 12.03 kB / 0.8882 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009405/0.01648, allocations: 248 kB / 0.8884 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.01729, allocations: 0.5173 MB / 0.8889 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.01733, allocations: 33.36 kB / 0.889 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.01741, allocations: 44.38 kB / 0.889 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000941/0.01835, allocations: 0.8534 MB / 0.8898 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.01838, allocations: 12.12 kB / 0.8898 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.01843, allocations: 24.36 kB / 0.8899 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.901e-05/0.01853, allocations: 76.89 kB / 0.8899 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000562/0.01909, allocations: 297.2 kB / 0.8902 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003803/0.02289, allocations: 6.296 MB / 0.8964 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.02335, allocations: 274.9 kB / 0.8966 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.02352, allocations: 91.64 kB / 0.8967 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.02355, allocations: 4 kB / 0.8967 GB, free: 2.75 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.02358, allocations: 45.33 kB / 0.8968 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=32): time 2.285e-06/0.02358, allocations: 0 / 0.8968 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.001691/0.02527, allocations: 0.6985 MB / 0.8974 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.0253, allocations: 59.62 kB / 0.8975 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.02577, allocations: 0.4946 MB / 0.898 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.0258, allocations: 33.7 kB / 0.898 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.02604, allocations: 415 kB / 0.8984 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.539e-05/0.02614, allocations: 127 kB / 0.8985 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.02629, allocations: 115.9 kB / 0.8986 GB, free: 0.6875 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.02647, allocations: 0.5352 MB / 0.8992 GB, free: 144 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.02665, allocations: 93.25 kB / 0.8993 GB, free: 52 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.02706, allocations: 450.8 kB / 0.8997 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/0.0277, allocations: 0.5863 MB / 0.9003 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.02771, allocations: 4 kB / 0.9003 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001018/0.02873, allocations: 0.6089 MB / 0.9009 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.02875, allocations: 8 kB / 0.9009 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.02876, allocations: 12.09 kB / 0.9009 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/0.02919, allocations: 130.3 kB / 0.901 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.0296, allocations: 123.7 kB / 0.9011 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/0.03263, allocations: 5.252 MB / 0.9062 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.03294, allocations: 35.97 kB / 0.9063 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.03298, allocations: 28 kB / 0.9063 GB, free: 8.094 MB / 0.8698 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.0001768/0.03315, allocations: 196.4 kB / 0.9065 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.03325, allocations: 75.66 kB / 0.9066 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006689/0.03392, allocations: 365.1 kB / 0.9069 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.03393, allocations: 4 kB / 0.9069 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.03393, allocations: 7.938 kB / 0.9069 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.03394, allocations: 3.984 kB / 0.9069 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.03522, allocations: 0.8964 MB / 0.9078 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.03522, allocations: 0 / 0.9078 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.03543, allocations: 60.11 kB / 0.9079 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003167/0.03575, allocations: 114.3 kB / 0.908 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.03578, allocations: 12 kB / 0.908 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/0.03862, allocations: 5.233 MB / 0.9131 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.03863, allocations: 7.875 kB / 0.9131 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.03938, allocations: 0.575 MB / 0.9137 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.03954, allocations: 87.56 kB / 0.9137 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.03959, allocations: 8 kB / 0.9138 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.03981, allocations: 23.97 kB / 0.9138 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.03995, allocations: 36.02 kB / 0.9138 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.03998, allocations: 12 kB / 0.9138 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000354/0.04033, allocations: 318.8 kB / 0.9141 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.04033, allocations: 0 / 0.9141 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006651/0.041, allocations: 140 kB / 0.9143 GB, free: 15.36 MB / 0.8855 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.0001111/0.04111, allocations: 111.2 kB / 0.9144 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007652/0.04187, allocations: 0.851 MB / 0.9152 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.04187, allocations: 0 / 0.9152 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.04225, allocations: 0.649 MB / 0.9158 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.0428, allocations: 196 kB / 0.916 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.04399, allocations: 0.9917 MB / 0.917 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.877e-05/0.04408, allocations: 154 kB / 0.9171 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.04425, allocations: 97.08 kB / 0.9172 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.04432, allocations: 40.48 kB / 0.9173 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of SimCode: time 6.41e-07/0.04432, allocations: 0 / 0.9173 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of Templates: time 0.009877/0.05419, allocations: 8.294 MB / 0.9254 GB, free: 3.984 MB / 0.8855 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] 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","",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.053734376095235]