Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.00101/0.00101, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009573/0.0009573, allocations: 161 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 1.016/1.016, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.758/1.758, allocations: 377.8 MB / 0.6236 GB, free: 8.586 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.49e-05, allocations: 8.016 kB / 0.8116 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.009992/0.01001, allocations: 13.37 MB / 0.8246 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005663/0.01567, allocations: 3.868 MB / 0.8284 GB, free: 496 kB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009456/0.01662, allocations: 123.1 kB / 0.8285 GB, free: 372 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009424/0.01756, allocations: 0.5487 MB / 0.829 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.01952, allocations: 1.499 MB / 0.8305 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.02103, allocations: 1.107 MB / 0.8316 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004564/0.02559, allocations: 5.954 MB / 0.8374 GB, free: 7.238 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003281/0.02887, allocations: 3.167 MB / 0.8405 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.03225, allocations: 3.428 MB / 0.8438 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.03467, allocations: 2.925 MB / 0.8467 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000399/0.03507, allocations: 458.1 kB / 0.8471 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007578/0.03583, allocations: 0.5934 MB / 0.8477 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.03703, allocations: 2.21 MB / 0.8499 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.03813, allocations: 1.505 MB / 0.8513 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.04074, allocations: 3.876 MB / 0.8551 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.04074, allocations: 0 / 0.8551 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.01e-07/0.04074, allocations: 3.25 kB / 0.8551 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.109e-05/0.04077, allocations: 0 / 0.8551 GB, free: 4.98 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003463/0.04423, allocations: 4.008 MB / 0.859 GB, free: 0.9258 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.04427, allocations: 8.031 kB / 0.8591 GB, free: 0.918 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/0.04729, allocations: 1.594 MB / 0.8606 GB, free: 15.32 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.04933, allocations: 2.188 MB / 0.8628 GB, free: 13.09 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.04944, allocations: 242.3 kB / 0.863 GB, free: 12.85 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003043/0.04974, allocations: 327.9 kB / 0.8633 GB, free: 12.53 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003718/0.05346, allocations: 3.59 MB / 0.8668 GB, free: 8.543 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-05/0.05352, allocations: 23.88 kB / 0.8668 GB, free: 8.52 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/0.05378, allocations: 132 kB / 0.8669 GB, free: 8.391 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000291/0.05407, allocations: 406.3 kB / 0.8673 GB, free: 7.992 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.05636, allocations: 1.365 MB / 0.8687 GB, free: 6.617 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/0.06981, allocations: 19.97 MB / 0.8882 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008354/0.07064, allocations: 486.2 kB / 0.8886 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000635/0.07128, allocations: 0.5167 MB / 0.8891 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.906e-05/0.07135, allocations: 20.94 kB / 0.8892 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.07137, allocations: 46.39 kB / 0.8892 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 3.246e-06/0.07138, allocations: 4 kB / 0.8892 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of matching and sorting (n=179): time 0.01741/0.08879, allocations: 9.543 MB / 0.8985 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.08883, allocations: 69.41 kB / 0.8986 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.08985, allocations: 1.246 MB / 0.8998 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.08996, allocations: 57.7 kB / 0.8999 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006781/0.09064, allocations: 1.64 MB / 0.9015 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004001/0.09104, allocations: 0.6546 MB / 0.9021 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007431/0.09178, allocations: 365.1 kB / 0.9025 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.09189, allocations: 484.7 kB / 0.9029 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007792/0.09267, allocations: 0.4959 MB / 0.9034 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.09388, allocations: 1.305 MB / 0.9047 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.09607, allocations: 1.979 MB / 0.9066 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.09608, allocations: 4 kB / 0.9066 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008059/0.1041, allocations: 4.802 MB / 0.9113 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.1042, allocations: 12 kB / 0.9113 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.1042, allocations: 16 kB / 0.9113 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007443/0.1116, allocations: 3.25 MB / 0.9145 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/0.1122, allocations: 307.4 kB / 0.9148 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/0.1308, allocations: 18.4 MB / 0.9328 GB, free: 2.789 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009046/0.1317, allocations: 151.8 kB / 0.9329 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.1318, allocations: 84 kB / 0.933 GB, free: 2.559 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007303/0.1326, allocations: 283.9 kB / 0.9333 GB, free: 2.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.1328, allocations: 258.8 kB / 0.9335 GB, free: 2.016 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007878/0.1407, allocations: 4.613 MB / 0.938 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.1407, allocations: 23.88 kB / 0.938 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.187e-05/0.1408, allocations: 28 kB / 0.9381 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.1408, allocations: 11.97 kB / 0.9381 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/0.152, allocations: 7.635 MB / 0.9455 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.152, allocations: 8 kB / 0.9455 GB, free: 5.453 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.1524, allocations: 167.7 kB / 0.9457 GB, free: 5.289 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007314/0.1597, allocations: 3.151 MB / 0.9488 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.1598, allocations: 39.98 kB / 0.9488 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/0.1788, allocations: 18.34 MB / 0.9667 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.1788, allocations: 15.94 kB / 0.9667 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007741/0.1866, allocations: 4.716 MB / 0.9713 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007656/0.1874, allocations: 0.4985 MB / 0.9718 GB, free: 9.605 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.1875, allocations: 39.98 kB / 0.9719 GB, free: 9.566 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009108/0.1884, allocations: 131.8 kB / 0.972 GB, free: 9.438 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005644/0.189, allocations: 188.6 kB / 0.9722 GB, free: 9.254 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.068e-05/0.1891, allocations: 48 kB / 0.9722 GB, free: 9.207 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006436/0.1897, allocations: 0.718 MB / 0.9729 GB, free: 8.492 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1897, allocations: 0 / 0.9729 GB, free: 8.492 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002374/0.1921, allocations: 1.113 MB / 0.974 GB, free: 7.379 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002553/0.1924, allocations: 159 kB / 0.9742 GB, free: 7.211 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005677/0.1981, allocations: 4.237 MB / 0.9783 GB, free: 2.863 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1981, allocations: 0 / 0.9783 GB, free: 2.863 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004579/0.2026, allocations: 3.382 MB / 0.9816 GB, free: 15.37 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.2042, allocations: 0.5117 MB / 0.9821 GB, free: 14.88 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009038/0.2132, allocations: 5.975 MB / 0.9879 GB, free: 8.734 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009315/0.2142, allocations: 1.011 MB / 0.9889 GB, free: 7.691 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005898/0.2148, allocations: 315.7 kB / 0.9892 GB, free: 7.379 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.2149, allocations: 96.48 kB / 0.9893 GB, free: 7.285 MB / 0.948 GB Notification: Performance of SimCode: time 1.743e-06/0.2149, allocations: 0 / 0.9893 GB, free: 7.285 MB / 0.948 GB Notification: Performance of Templates: time 0.06762/0.2825, allocations: 66.67 MB / 1.054 GB, free: 5.129 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.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: 6.349654068239033]