Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001356/0.001356, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001035/0.001035, allocations: 165 kB / 23.82 MB, free: 0.75 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.8743/0.8743, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.683/1.683, allocations: 359 MB / 0.6052 GB, free: 10.98 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 4.594 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.684e-05, allocations: 7.094 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.005728/0.005745, allocations: 6.677 MB / 0.7936 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003369/0.009114, allocations: 2.204 MB / 0.7958 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003447/0.009459, allocations: 47.62 kB / 0.7958 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.01006, allocations: 270.2 kB / 0.7961 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008078/0.01087, allocations: 0.7063 MB / 0.7968 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008118/0.01168, allocations: 0.6596 MB / 0.7974 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002164/0.01385, allocations: 3.004 MB / 0.8004 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.01523, allocations: 1.416 MB / 0.8017 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.01672, allocations: 1.736 MB / 0.8034 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.01818, allocations: 1.636 MB / 0.805 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002782/0.01845, allocations: 232 kB / 0.8053 GB, free: 9.809 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.01901, allocations: 331.8 kB / 0.8056 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0006856/0.01969, allocations: 1.162 MB / 0.8067 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006926/0.02039, allocations: 0.7874 MB / 0.8075 GB, free: 7.531 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.02197, allocations: 2.143 MB / 0.8096 GB, free: 5.383 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.02198, allocations: 0 / 0.8096 GB, free: 5.383 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.02e-07/0.02198, allocations: 0 / 0.8096 GB, free: 5.383 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.572e-05/0.02201, allocations: 0 / 0.8096 GB, free: 5.383 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002353/0.02437, allocations: 2.266 MB / 0.8118 GB, free: 3.074 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.02442, allocations: 9 kB / 0.8118 GB, free: 3.066 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004517/0.02894, allocations: 1.639 MB / 0.8134 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.03017, allocations: 1.174 MB / 0.8145 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/0.03023, allocations: 111.4 kB / 0.8146 GB, free: 124 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.03042, allocations: 148.4 kB / 0.8148 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.03258, allocations: 1.832 MB / 0.8166 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.03261, allocations: 8.125 kB / 0.8166 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.03275, allocations: 68.09 kB / 0.8167 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/0.03292, allocations: 207.1 kB / 0.8168 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.03468, allocations: 0.8524 MB / 0.8177 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007962/0.04264, allocations: 8.971 MB / 0.8264 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.04367, allocations: 0.651 MB / 0.8271 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006818/0.04436, allocations: 462.4 kB / 0.8275 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.423e-05/0.04443, allocations: 17 kB / 0.8275 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.04446, allocations: 42.39 kB / 0.8276 GB, free: 2.504 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=104): time 3.897e-06/0.04447, allocations: 3.984 kB / 0.8276 GB, free: 2.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=183): time 0.01793/0.0624, allocations: 9.443 MB / 0.8368 GB, free: 9.031 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.06243, allocations: 73.41 kB / 0.8369 GB, free: 8.949 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000717/0.06315, allocations: 0.8974 MB / 0.8377 GB, free: 8.035 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.06325, allocations: 57.7 kB / 0.8378 GB, free: 7.973 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/0.06367, allocations: 0.8666 MB / 0.8386 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004313/0.0641, allocations: 0.6741 MB / 0.8393 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/0.06455, allocations: 361.1 kB / 0.8397 GB, free: 6.055 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.06466, allocations: 476.8 kB / 0.8401 GB, free: 5.586 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007952/0.06546, allocations: 471.7 kB / 0.8406 GB, free: 5.125 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.06656, allocations: 0.9656 MB / 0.8415 GB, free: 3.988 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.06842, allocations: 1.545 MB / 0.843 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.06842, allocations: 4 kB / 0.843 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009093/0.07751, allocations: 4.75 MB / 0.8477 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.07754, allocations: 12 kB / 0.8477 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.07755, allocations: 8.656 kB / 0.8477 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008648/0.0862, allocations: 3.594 MB / 0.8512 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.08662, allocations: 195.6 kB / 0.8514 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/0.1084, allocations: 19.37 MB / 0.8703 GB, free: 5.812 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007712/0.1092, allocations: 103.9 kB / 0.8704 GB, free: 5.711 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.1093, allocations: 68 kB / 0.8704 GB, free: 5.645 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004521/0.1098, allocations: 248.3 kB / 0.8707 GB, free: 5.391 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.11, allocations: 207 kB / 0.8709 GB, free: 5.188 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008538/0.1185, allocations: 4.732 MB / 0.8755 GB, free: 428 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.1186, allocations: 16 kB / 0.8755 GB, free: 412 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.984e-05/0.1186, allocations: 35.98 kB / 0.8756 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.1186, allocations: 15.91 kB / 0.8756 GB, free: 360 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.1302, allocations: 7.171 MB / 0.8826 GB, free: 9.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.1302, allocations: 4 kB / 0.8826 GB, free: 9.047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/0.1307, allocations: 115.9 kB / 0.8827 GB, free: 8.934 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008302/0.139, allocations: 3.487 MB / 0.8861 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.1391, allocations: 40 kB / 0.8861 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02087/0.16, allocations: 17.83 MB / 0.9035 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.16, allocations: 4 kB / 0.9035 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009936/0.1699, allocations: 4.695 MB / 0.9081 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008558/0.1708, allocations: 0.5027 MB / 0.9086 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.171, allocations: 32 kB / 0.9087 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007898/0.1718, allocations: 95.81 kB / 0.9087 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006862/0.1725, allocations: 169.6 kB / 0.9089 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.1726, allocations: 52 kB / 0.909 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000599/0.1732, allocations: 0.5499 MB / 0.9095 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.1732, allocations: 0 / 0.9095 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002517/0.1757, allocations: 1.004 MB / 0.9105 GB, free: 11.84 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002596/0.176, allocations: 141.4 kB / 0.9106 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005411/0.1814, allocations: 3.264 MB / 0.9138 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1814, allocations: 0 / 0.9138 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004374/0.1858, allocations: 2.739 MB / 0.9165 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.1868, allocations: 242.2 kB / 0.9167 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005803/0.1926, allocations: 4.043 MB / 0.9207 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/0.1933, allocations: 0.6389 MB / 0.9213 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005225/0.1938, allocations: 283.2 kB / 0.9215 GB, free: 228 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.194, allocations: 60.48 kB / 0.9216 GB, free: 168 kB / 0.8698 GB Notification: Performance of SimCode: time 1.062e-06/0.194, allocations: 0 / 0.9216 GB, free: 168 kB / 0.8698 GB Notification: Performance of Templates: time 0.06581/0.2598, allocations: 66.38 MB / 0.9864 GB, free: 13.65 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.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.679296045098454]