Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001384/0.001384, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001515/0.001515, allocations: 170.4 kB / 24.86 MB, free: 8.883 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.9327/0.9327, allocations: 177.1 MB / 205.3 MB, free: 5.047 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.704/1.704, allocations: 359 MB / 0.6063 GB, free: 10.92 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.424e-05, allocations: 6.906 kB / 0.7883 GB, free: 12.21 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.005329/0.005343, allocations: 6.235 MB / 0.7944 GB, free: 5.961 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.002929/0.008272, allocations: 2.069 MB / 0.7964 GB, free: 3.895 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003616/0.008633, allocations: 47.62 kB / 0.7965 GB, free: 3.848 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0005392/0.009173, allocations: 260.9 kB / 0.7967 GB, free: 3.594 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.0007248/0.009898, allocations: 0.6566 MB / 0.7974 GB, free: 2.938 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.01054, allocations: 0.5536 MB / 0.7979 GB, free: 2.387 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.01235, allocations: 2.741 MB / 0.8006 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.01357, allocations: 1.373 MB / 0.8019 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.01484, allocations: 1.571 MB / 0.8035 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.01629, allocations: 1.431 MB / 0.8049 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.01652, allocations: 216 kB / 0.8051 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/0.01695, allocations: 319.7 kB / 0.8054 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0007517/0.01771, allocations: 1.062 MB / 0.8064 GB, free: 9.637 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006727/0.01838, allocations: 0.7173 MB / 0.8071 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.02, allocations: 1.913 MB / 0.809 GB, free: 7 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.02, allocations: 4 kB / 0.809 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.72e-07/0.02, allocations: 0 / 0.809 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.02001, allocations: 2.75 kB / 0.809 GB, free: 6.996 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002423/0.02243, allocations: 2.052 MB / 0.811 GB, free: 4.898 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.02247, allocations: 8.031 kB / 0.811 GB, free: 4.891 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003822/0.02629, allocations: 0.918 MB / 0.8119 GB, free: 3.977 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.0275, allocations: 0.9402 MB / 0.8128 GB, free: 3.016 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/0.02758, allocations: 107.3 kB / 0.8129 GB, free: 2.91 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/0.02782, allocations: 152.3 kB / 0.8131 GB, free: 2.762 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.02979, allocations: 1.521 MB / 0.8145 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.02982, allocations: 4.188 kB / 0.8145 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.02998, allocations: 64.34 kB / 0.8146 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/0.03017, allocations: 182.9 kB / 0.8148 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.0313, allocations: 0.565 MB / 0.8153 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007624/0.03892, allocations: 8.041 MB / 0.8232 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007074/0.03963, allocations: 407.4 kB / 0.8236 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004324/0.04006, allocations: 291.3 kB / 0.8239 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.04011, allocations: 20.64 kB / 0.8239 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.04014, allocations: 42.05 kB / 0.8239 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.04014, allocations: 0 / 0.8239 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of matching and sorting (n=139): time 0.01247/0.05261, allocations: 4.987 MB / 0.8288 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.05264, allocations: 68.72 kB / 0.8288 GB, free: 2.129 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/0.05326, allocations: 0.7409 MB / 0.8296 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.936e-05/0.05335, allocations: 45.7 kB / 0.8296 GB, free: 1.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.05375, allocations: 0.8152 MB / 0.8304 GB, free: 0.4922 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003586/0.05411, allocations: 0.527 MB / 0.8309 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004877/0.0546, allocations: 297 kB / 0.8312 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.05475, allocations: 0.5315 MB / 0.8317 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.05524, allocations: 251.8 kB / 0.832 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007545/0.05599, allocations: 0.7126 MB / 0.8327 GB, free: 14 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.05732, allocations: 1.049 MB / 0.8337 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.05732, allocations: 7.938 kB / 0.8337 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01169/0.06901, allocations: 2.51 MB / 0.8361 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.06903, allocations: 12.06 kB / 0.8362 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.06905, allocations: 8 kB / 0.8362 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009307/0.07836, allocations: 1.713 MB / 0.8378 GB, free: 8.504 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.07885, allocations: 171.7 kB / 0.838 GB, free: 8.336 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/0.09146, allocations: 13.89 MB / 0.8516 GB, free: 9.992 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.09196, allocations: 40 kB / 0.8516 GB, free: 9.953 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/0.09203, allocations: 40 kB / 0.8516 GB, free: 9.914 MB / 0.8074 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003646/0.0924, allocations: 236.3 kB / 0.8519 GB, free: 9.672 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.09258, allocations: 155.3 kB / 0.852 GB, free: 9.52 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004048/0.09663, allocations: 2.444 MB / 0.8544 GB, free: 7.047 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.09663, allocations: 12 kB / 0.8544 GB, free: 7.035 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.09665, allocations: 20 kB / 0.8544 GB, free: 7.016 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.09666, allocations: 7.969 kB / 0.8544 GB, free: 7.008 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005691/0.1023, allocations: 3.995 MB / 0.8583 GB, free: 2.891 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1024, allocations: 4 kB / 0.8583 GB, free: 2.887 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.1026, allocations: 103.8 kB / 0.8584 GB, free: 2.785 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003727/0.1063, allocations: 1.611 MB / 0.86 GB, free: 1.16 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.117e-05/0.1064, allocations: 28 kB / 0.86 GB, free: 1.133 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/0.1174, allocations: 12.81 MB / 0.8726 GB, free: 3.875 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1174, allocations: 4 kB / 0.8726 GB, free: 3.871 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/0.1213, allocations: 2.519 MB / 0.875 GB, free: 1.246 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.1216, allocations: 307 kB / 0.8753 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.1218, allocations: 31.95 kB / 0.8753 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.1221, allocations: 28.19 kB / 0.8754 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/0.1224, allocations: 136.9 kB / 0.8755 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/0.1224, allocations: 28 kB / 0.8755 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002471/0.1227, allocations: 438.8 kB / 0.8759 GB, free: 308 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1227, allocations: 0 / 0.8759 GB, free: 308 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.001345/0.124, allocations: 0.7227 MB / 0.8767 GB, free: 15.57 MB / 0.8386 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001631/0.1242, allocations: 139.1 kB / 0.8768 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002354/0.1265, allocations: 2.326 MB / 0.8791 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1265, allocations: 0.5 kB / 0.8791 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.1285, allocations: 1.89 MB / 0.8809 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.1291, allocations: 214.4 kB / 0.8811 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.1321, allocations: 3.251 MB / 0.8843 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.1325, allocations: 0.5384 MB / 0.8848 GB, free: 6.957 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002088/0.1327, allocations: 101.5 kB / 0.8849 GB, free: 6.855 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.1329, allocations: 234.1 kB / 0.8851 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of SimCode: time 9.02e-07/0.1329, allocations: 3.938 kB / 0.8851 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of Templates: time 0.03938/0.1723, allocations: 44.72 MB / 0.9288 GB, free: 10.16 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.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.367495174985379]