Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0009287/0.0009287, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009398/0.0009398, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9889/0.9889, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.973/1.973, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.134e-05, allocations: 3.062 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.007566/0.007587, allocations: 9.111 MB / 0.769 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004527/0.01211, allocations: 2.897 MB / 0.7718 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007059/0.01282, allocations: 91.31 kB / 0.7719 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007406/0.01356, allocations: 329 kB / 0.7722 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0009723/0.01453, allocations: 0.6643 MB / 0.7728 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.01567, allocations: 0.6327 MB / 0.7735 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.003298/0.01897, allocations: 3.605 MB / 0.777 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/0.02156, allocations: 2.613 MB / 0.7795 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.02399, allocations: 2.261 MB / 0.7817 GB, free: 300 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.02587, allocations: 1.741 MB / 0.7834 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004956/0.02637, allocations: 336 kB / 0.7838 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000764/0.02713, allocations: 467.7 kB / 0.7842 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.02817, allocations: 1.442 MB / 0.7856 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.02932, allocations: 1.029 MB / 0.7866 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.03178, allocations: 2.673 MB / 0.7892 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.03179, allocations: 0 / 0.7892 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.263e-06/0.03179, allocations: 0 / 0.7892 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.968e-05/0.03184, allocations: 1.812 kB / 0.7892 GB, free: 8.605 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.002843/0.03468, allocations: 2.459 MB / 0.7916 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.03472, allocations: 8.031 kB / 0.7916 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.03685, allocations: 0.833 MB / 0.7924 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.03826, allocations: 1.169 MB / 0.7936 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003636/0.03862, allocations: 177.1 kB / 0.7938 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.03888, allocations: 237.4 kB / 0.794 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.04118, allocations: 2.118 MB / 0.7961 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/0.04122, allocations: 13.12 kB / 0.7961 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.04138, allocations: 96.36 kB / 0.7962 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/0.04152, allocations: 176.5 kB / 0.7963 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.04263, allocations: 0.6783 MB / 0.797 GB, free: 432 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007862/0.05049, allocations: 8.201 MB / 0.805 GB, free: 7.906 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.05156, allocations: 0.6894 MB / 0.8057 GB, free: 7.191 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.05178, allocations: 168.5 kB / 0.8058 GB, free: 7.02 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.828e-05/0.05185, allocations: 21.55 kB / 0.8059 GB, free: 7 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.05188, allocations: 51.09 kB / 0.8059 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/0.05188, allocations: 0.7188 kB / 0.8059 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76): time 0.001809/0.05369, allocations: 0.9441 MB / 0.8068 GB, free: 5.984 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.05374, allocations: 111.5 kB / 0.8069 GB, free: 5.848 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000832/0.05457, allocations: 0.7532 MB / 0.8077 GB, free: 5.07 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.05461, allocations: 43.08 kB / 0.8077 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.05504, allocations: 1.057 MB / 0.8087 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.05519, allocations: 281.6 kB / 0.809 GB, free: 3.676 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.05544, allocations: 259.3 kB / 0.8093 GB, free: 3.414 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.05556, allocations: 416 kB / 0.8097 GB, free: 3 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.05574, allocations: 127.9 kB / 0.8098 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.05616, allocations: 0.7052 MB / 0.8105 GB, free: 1.906 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000759/0.05692, allocations: 0.9832 MB / 0.8114 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.05693, allocations: 4 kB / 0.8114 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001062/0.05799, allocations: 0.8998 MB / 0.8123 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.05802, allocations: 17.38 kB / 0.8123 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.05804, allocations: 16 kB / 0.8123 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/0.05825, allocations: 107.2 kB / 0.8124 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.05889, allocations: 320.8 kB / 0.8127 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/0.05892, allocations: 43.8 kB / 0.8128 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.05937, allocations: 59.47 kB / 0.8128 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.05944, allocations: 59.98 kB / 0.8129 GB, free: 15.15 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004398/0.05988, allocations: 204.7 kB / 0.8131 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.06001, allocations: 95.97 kB / 0.8132 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006766/0.06069, allocations: 0.5047 MB / 0.8137 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.06069, allocations: 8 kB / 0.8137 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.0607, allocations: 4.531 kB / 0.8137 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.06071, allocations: 5.359 kB / 0.8137 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.06321, allocations: 1.769 MB / 0.8154 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.06321, allocations: 4 kB / 0.8154 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.06354, allocations: 140.7 kB / 0.8156 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000159/0.0637, allocations: 79.47 kB / 0.8156 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.06373, allocations: 20 kB / 0.8157 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.06373, allocations: 13.14 kB / 0.8157 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.06374, allocations: 4 kB / 0.8157 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006815/0.06442, allocations: 0.8714 MB / 0.8165 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.06465, allocations: 147.2 kB / 0.8167 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.632e-05/0.06472, allocations: 21.28 kB / 0.8167 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.06498, allocations: 23.98 kB / 0.8167 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.06508, allocations: 52.55 kB / 0.8168 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.0651, allocations: 20 kB / 0.8168 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002875/0.06539, allocations: 338.5 kB / 0.8171 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.06539, allocations: 0 / 0.8171 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009336/0.06633, allocations: 388 kB / 0.8175 GB, free: 10.27 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001698/0.0665, allocations: 110.1 kB / 0.8176 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007774/0.06727, allocations: 0.6068 MB / 0.8182 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.704e-05/0.0673, allocations: 17.81 kB / 0.8182 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.06756, allocations: 247.6 kB / 0.8184 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.06833, allocations: 275.6 kB / 0.8187 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.07261, allocations: 3.441 MB / 0.822 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.07307, allocations: 0.5672 MB / 0.8226 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004498/0.07352, allocations: 163.5 kB / 0.8228 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.07391, allocations: 269.2 kB / 0.823 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of SimCode: time 1.353e-06/0.07392, allocations: 0 / 0.823 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of Templates: time 0.02015/0.09407, allocations: 13.73 MB / 0.8364 GB, free: 7.066 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_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.28495931904763]