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.001259/0.001259, allocations: 93.06 kB / 19.65 MB, free: 280 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.001324/0.001324, allocations: 165.3 kB / 23.01 MB, free: 1.551 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.9597/0.9597, allocations: 177.1 MB / 203.4 MB, free: 5.637 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 2.072/2.072, allocations: 429.5 MB / 0.6732 GB, free: 3.988 MB / 0.6355 GB " [Timeout remaining time 177] 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.693e-06/1.693e-06, allocations: 0 / 0.8782 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.51e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004025/0.00405, allocations: 3.86 MB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.005925, allocations: 1.412 MB / 0.8833 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.006144, allocations: 39.56 kB / 0.8833 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.006647, allocations: 162.7 kB / 0.8835 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.007113, allocations: 367.2 kB / 0.8838 GB, free: 324 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.007547, allocations: 335.4 kB / 0.8842 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.008249, allocations: 0.9602 MB / 0.8851 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.008638, allocations: 314.4 kB / 0.8854 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004681/0.009106, allocations: 494.7 kB / 0.8859 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004946/0.009601, allocations: 311 kB / 0.8862 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.009726, allocations: 36 kB / 0.8862 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.009997, allocations: 111.8 kB / 0.8863 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.01015, allocations: 203.3 kB / 0.8865 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.01034, allocations: 207.5 kB / 0.8867 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005062/0.01084, allocations: 0.5175 MB / 0.8872 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01085, allocations: 0 / 0.8872 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01085, allocations: 0 / 0.8872 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.01085, allocations: 0 / 0.8872 GB, free: 12.86 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.0008868/0.01174, allocations: 0.9624 MB / 0.8882 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.01178, allocations: 12.03 kB / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007467/0.01253, allocations: 283.9 kB / 0.8884 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.01304, allocations: 0.5145 MB / 0.8889 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.01306, allocations: 33.38 kB / 0.889 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.01312, allocations: 44.36 kB / 0.889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/0.01371, allocations: 0.8573 MB / 0.8898 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.01373, allocations: 8.125 kB / 0.8899 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.01377, allocations: 32.36 kB / 0.8899 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/0.01383, allocations: 64.89 kB / 0.89 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.01417, allocations: 305.2 kB / 0.8902 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.01679, allocations: 6.303 MB / 0.8964 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.01711, allocations: 276.5 kB / 0.8967 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.01722, allocations: 87.66 kB / 0.8967 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.01725, allocations: 4 kB / 0.8967 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.01727, allocations: 41.39 kB / 0.8968 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=32): time 1.393e-06/0.01727, allocations: 4 kB / 0.8968 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.001209/0.01848, allocations: 0.6985 MB / 0.8975 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.01851, allocations: 55.69 kB / 0.8975 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.01882, allocations: 0.4907 MB / 0.898 GB, free: 1.211 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.01884, allocations: 33.7 kB / 0.898 GB, free: 1.172 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.01902, allocations: 419 kB / 0.8984 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/0.01908, allocations: 119 kB / 0.8986 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.816e-05/0.01918, allocations: 119.9 kB / 0.8987 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.01932, allocations: 0.5312 MB / 0.8992 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.01944, allocations: 93.25 kB / 0.8993 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.0197, allocations: 446.8 kB / 0.8997 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.02012, allocations: 0.5902 MB / 0.9003 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.02012, allocations: 0 / 0.9003 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006422/0.02076, allocations: 0.6162 MB / 0.9009 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.02078, allocations: 12 kB / 0.9009 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.02079, allocations: 8 kB / 0.9009 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/0.02108, allocations: 130.9 kB / 0.901 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.02133, allocations: 123.8 kB / 0.9011 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.02339, allocations: 5.256 MB / 0.9063 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.02356, allocations: 36 kB / 0.9063 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.02359, allocations: 28 kB / 0.9063 GB, free: 7.914 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.0001277/0.02371, allocations: 192.4 kB / 0.9065 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.02377, allocations: 75.59 kB / 0.9066 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.02422, allocations: 373 kB / 0.9069 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.02423, allocations: 7.984 kB / 0.907 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.02423, allocations: 15.92 kB / 0.907 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.02423, allocations: 0 / 0.907 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008382/0.02507, allocations: 0.8886 MB / 0.9078 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.02507, allocations: 0 / 0.9078 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.02521, allocations: 59.89 kB / 0.9079 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/0.02541, allocations: 118.6 kB / 0.908 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.02543, allocations: 4 kB / 0.908 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.02728, allocations: 5.245 MB / 0.9131 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02728, allocations: 0 / 0.9131 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.02776, allocations: 0.5711 MB / 0.9137 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.02786, allocations: 87.58 kB / 0.9138 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.02789, allocations: 8 kB / 0.9138 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.02801, allocations: 19.97 kB / 0.9138 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.02806, allocations: 35.83 kB / 0.9138 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.02808, allocations: 12 kB / 0.9138 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001888/0.02826, allocations: 318.8 kB / 0.9141 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.02826, allocations: 0 / 0.9141 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003658/0.02863, allocations: 144 kB / 0.9143 GB, free: 15.18 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 9.68e-05/0.02873, allocations: 115.2 kB / 0.9144 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007017/0.02943, allocations: 0.8432 MB / 0.9152 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02943, allocations: 0 / 0.9152 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.0298, allocations: 0.6611 MB / 0.9159 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.03034, allocations: 192 kB / 0.916 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.03146, allocations: 0.9878 MB / 0.917 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.767e-05/0.03156, allocations: 150 kB / 0.9172 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.03173, allocations: 101.1 kB / 0.9173 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.0318, allocations: 40.48 kB / 0.9173 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of SimCode: time 7.91e-07/0.0318, allocations: 0 / 0.9173 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of Templates: time 0.009444/0.04125, allocations: 7.878 MB / 0.925 GB, free: 4.211 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.583061665762216]