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.0009202/0.0009202, allocations: 80.8 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.0009276/0.0009276, 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 1.035/1.035, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.838/1.838, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.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.252e-06/1.252e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.408e-05, allocations: 6.172 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.009981/0.009995, allocations: 13.02 MB / 0.7728 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005266/0.01526, allocations: 3.965 MB / 0.7766 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005424/0.0158, allocations: 130 kB / 0.7768 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008186/0.01662, allocations: 0.543 MB / 0.7773 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.01812, allocations: 1.509 MB / 0.7788 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.01928, allocations: 1.098 MB / 0.7798 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.003705/0.02298, allocations: 5.951 MB / 0.7856 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/0.02562, allocations: 3.407 MB / 0.789 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002703/0.02833, allocations: 3.419 MB / 0.7923 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.03047, allocations: 2.792 MB / 0.795 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003784/0.03084, allocations: 456 kB / 0.7955 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006444/0.03149, allocations: 0.5901 MB / 0.796 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.03281, allocations: 2.222 MB / 0.7982 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.03387, allocations: 1.498 MB / 0.7997 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.03619, allocations: 3.88 MB / 0.8035 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.0362, allocations: 1.156 kB / 0.8035 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.362e-06/0.0362, allocations: 0 / 0.8035 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.686e-05/0.03624, allocations: 0 / 0.8035 GB, free: 10.02 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003169/0.0394, allocations: 3.594 MB / 0.807 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.622e-05/0.03943, allocations: 8.719 kB / 0.807 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/0.04189, allocations: 1.093 MB / 0.8081 GB, free: 5.289 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.04368, allocations: 1.784 MB / 0.8098 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.04379, allocations: 242.3 kB / 0.81 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/0.04412, allocations: 324.6 kB / 0.8103 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.04705, allocations: 3.211 MB / 0.8135 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.232e-05/0.0471, allocations: 16.55 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.04735, allocations: 139.9 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002929/0.04764, allocations: 406.9 kB / 0.814 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.04917, allocations: 1.203 MB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.05965, allocations: 14.27 MB / 0.8291 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.06013, allocations: 398.3 kB / 0.8295 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.06055, allocations: 415.9 kB / 0.8299 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.734e-05/0.0606, allocations: 22.03 kB / 0.8299 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.06063, allocations: 47.5 kB / 0.83 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=110): time 2.074e-06/0.06063, allocations: 1.094 kB / 0.83 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of matching and sorting (n=113): time 0.009531/0.07016, allocations: 5.166 MB / 0.835 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.07019, allocations: 64.41 kB / 0.8351 GB, free: 8.82 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006597/0.07085, allocations: 1.098 MB / 0.8361 GB, free: 7.711 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.947e-05/0.07092, allocations: 45.7 kB / 0.8362 GB, free: 7.66 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005421/0.07146, allocations: 1.384 MB / 0.8375 GB, free: 6.258 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.07175, allocations: 424.3 kB / 0.8379 GB, free: 5.84 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.07202, allocations: 271.3 kB / 0.8382 GB, free: 5.566 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.25e-05/0.07208, allocations: 305.1 kB / 0.8385 GB, free: 5.266 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.07239, allocations: 226.8 kB / 0.8387 GB, free: 5.043 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.07289, allocations: 0.7405 MB / 0.8394 GB, free: 4.066 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.07395, allocations: 1.14 MB / 0.8405 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.07396, allocations: 4 kB / 0.8405 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.00322/0.07718, allocations: 2.138 MB / 0.8426 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.0772, allocations: 12 kB / 0.8426 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.07722, allocations: 23.94 kB / 0.8427 GB, free: 496 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00324/0.08046, allocations: 1.362 MB / 0.844 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.08093, allocations: 251.6 kB / 0.8442 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00735/0.08828, allocations: 6.812 MB / 0.8509 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005347/0.08881, allocations: 48.12 kB / 0.8509 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.08889, allocations: 55.98 kB / 0.851 GB, free: 7.668 MB / 0.8073 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 (142): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(11,13,93.4%), (6,12,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000602/0.08949, allocations: 208.2 kB / 0.8512 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.08966, allocations: 151.8 kB / 0.8513 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.09276, allocations: 1.945 MB / 0.8532 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.09277, allocations: 12 kB / 0.8532 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.09278, allocations: 12 kB / 0.8533 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.09279, allocations: 11.91 kB / 0.8533 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/0.09772, allocations: 3.283 MB / 0.8565 GB, free: 1.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.09773, allocations: 11.97 kB / 0.8565 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.09799, allocations: 111.8 kB / 0.8566 GB, free: 1.805 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003099/0.1011, allocations: 1.337 MB / 0.8579 GB, free: 468 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/0.1011, allocations: 27.98 kB / 0.8579 GB, free: 440 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007313/0.1085, allocations: 6.817 MB / 0.8646 GB, free: 9.324 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1085, allocations: 11.94 kB / 0.8646 GB, free: 9.312 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.1114, allocations: 2.007 MB / 0.8665 GB, free: 7.219 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/0.1118, allocations: 282.7 kB / 0.8668 GB, free: 6.941 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.1119, allocations: 20 kB / 0.8668 GB, free: 6.922 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.1123, allocations: 24 kB / 0.8669 GB, free: 6.898 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.1124, allocations: 104.7 kB / 0.867 GB, free: 6.797 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.1125, allocations: 27.98 kB / 0.867 GB, free: 6.77 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004052/0.1129, allocations: 0.5352 MB / 0.8675 GB, free: 6.234 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1129, allocations: 7.938 kB / 0.8675 GB, free: 6.227 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001407/0.1143, allocations: 0.8047 MB / 0.8683 GB, free: 5.422 MB / 0.823 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 (65): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,6,100.0%), (6,12,100.0%), (11,13,90.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001638/0.1145, allocations: 108.2 kB / 0.8684 GB, free: 5.305 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002513/0.117, allocations: 1.894 MB / 0.8703 GB, free: 3.379 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.599e-05/0.117, allocations: 25.88 kB / 0.8703 GB, free: 3.352 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.1187, allocations: 1.437 MB / 0.8717 GB, free: 1.875 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.1198, allocations: 483.2 kB / 0.8721 GB, free: 1.41 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005103/0.1249, allocations: 5.355 MB / 0.8774 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006841/0.1256, allocations: 0.8917 MB / 0.8782 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003685/0.1259, allocations: 177.7 kB / 0.8784 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005401/0.1265, allocations: 387.1 kB / 0.8788 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of SimCode: time 8.21e-07/0.1265, allocations: 0 / 0.8788 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.04861/0.1751, allocations: 41.54 MB / 0.9193 GB, free: 1.457 MB / 0.8698 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: 5.558750603813678]