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.0009999/0.0009999, 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.00117/0.00117, 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.025/1.025, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.937/1.937, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.483e-06/1.483e-06, allocations: 0.875 kB / 0.7601 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.53e-05, allocations: 6.312 kB / 0.7601 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01008/0.0101, allocations: 13.06 MB / 0.7728 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005953/0.01605, allocations: 3.972 MB / 0.7767 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008337/0.01688, allocations: 127.1 kB / 0.7768 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009309/0.01781, allocations: 0.5382 MB / 0.7774 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.01943, allocations: 1.507 MB / 0.7788 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.02071, allocations: 1.103 MB / 0.7799 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.003898/0.0246, allocations: 5.951 MB / 0.7857 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003055/0.02766, allocations: 3.396 MB / 0.789 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.03097, allocations: 3.428 MB / 0.7924 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.03368, allocations: 2.798 MB / 0.7951 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003817/0.03406, allocations: 452 kB / 0.7956 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007576/0.03482, allocations: 0.6012 MB / 0.7961 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.03613, allocations: 2.21 MB / 0.7983 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.03721, allocations: 1.497 MB / 0.7998 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002933/0.04014, allocations: 3.876 MB / 0.8036 GB, free: 9.965 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.04015, allocations: 4 kB / 0.8036 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.322e-06/0.04015, allocations: 0 / 0.8036 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.379e-05/0.04018, allocations: 0 / 0.8036 GB, free: 9.961 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.003264/0.04345, allocations: 3.599 MB / 0.8071 GB, free: 6.328 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.04349, allocations: 8.031 kB / 0.8071 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/0.04632, allocations: 1.097 MB / 0.8081 GB, free: 5.223 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.04835, allocations: 1.785 MB / 0.8099 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.04848, allocations: 242.3 kB / 0.8101 GB, free: 3.168 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/0.04881, allocations: 319.9 kB / 0.8104 GB, free: 2.855 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.05173, allocations: 3.219 MB / 0.8136 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.598e-05/0.05179, allocations: 16.53 kB / 0.8136 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.05201, allocations: 140.5 kB / 0.8137 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002987/0.05231, allocations: 406.3 kB / 0.8141 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.05385, allocations: 1.2 MB / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.06424, allocations: 14.27 MB / 0.8292 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/0.06486, allocations: 395.8 kB / 0.8296 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.0653, allocations: 415.9 kB / 0.83 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.844e-05/0.06537, allocations: 17 kB / 0.83 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.0654, allocations: 44.38 kB / 0.83 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=110): time 2.554e-06/0.0654, allocations: 0 / 0.83 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of matching and sorting (n=113): time 0.01016/0.07556, allocations: 5.167 MB / 0.8351 GB, free: 8.832 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.07559, allocations: 68.41 kB / 0.8352 GB, free: 8.754 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007185/0.07631, allocations: 1.106 MB / 0.8362 GB, free: 7.637 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.918e-05/0.07638, allocations: 41.7 kB / 0.8363 GB, free: 7.59 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006797/0.07705, allocations: 1.388 MB / 0.8376 GB, free: 6.184 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.07727, allocations: 420.3 kB / 0.838 GB, free: 5.77 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.07757, allocations: 279.2 kB / 0.8383 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.514e-05/0.07764, allocations: 305.1 kB / 0.8386 GB, free: 5.188 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.07794, allocations: 222.8 kB / 0.8388 GB, free: 4.969 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.07848, allocations: 0.7365 MB / 0.8395 GB, free: 3.992 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009963/0.07948, allocations: 1.128 MB / 0.8406 GB, free: 2.621 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.07949, allocations: 8 kB / 0.8406 GB, free: 2.613 MB / 0.7917 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003391/0.08288, allocations: 2.15 MB / 0.8427 GB, free: 452 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.0829, allocations: 12 kB / 0.8427 GB, free: 440 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.08292, allocations: 16 kB / 0.8428 GB, free: 424 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00359/0.08651, allocations: 1.358 MB / 0.8441 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.08705, allocations: 275.5 kB / 0.8443 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007859/0.09491, allocations: 6.838 MB / 0.851 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005936/0.09551, allocations: 48 kB / 0.8511 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/0.09559, allocations: 55.98 kB / 0.8511 GB, free: 7.551 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.000597/0.09619, allocations: 216.1 kB / 0.8513 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.09637, allocations: 155.7 kB / 0.8515 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00318/0.09955, allocations: 1.945 MB / 0.8534 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.09955, allocations: 8 kB / 0.8534 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.09957, allocations: 19.94 kB / 0.8534 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.09957, allocations: 7.969 kB / 0.8534 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005091/0.1047, allocations: 3.29 MB / 0.8566 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1047, allocations: 4 kB / 0.8566 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.105, allocations: 127.8 kB / 0.8568 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003495/0.1085, allocations: 1.329 MB / 0.858 GB, free: 336 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/0.1086, allocations: 24 kB / 0.8581 GB, free: 312 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007816/0.1164, allocations: 6.855 MB / 0.8648 GB, free: 9.156 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1164, allocations: 4 kB / 0.8648 GB, free: 9.152 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/0.1198, allocations: 2.007 MB / 0.8667 GB, free: 7.059 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/0.1202, allocations: 294.6 kB / 0.867 GB, free: 6.77 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.1203, allocations: 20 kB / 0.867 GB, free: 6.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.1207, allocations: 27.94 kB / 0.8671 GB, free: 6.723 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.121, allocations: 96.75 kB / 0.8671 GB, free: 6.629 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.121, allocations: 24 kB / 0.8672 GB, free: 6.605 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000436/0.1215, allocations: 0.5351 MB / 0.8677 GB, free: 6.07 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.1215, allocations: 3.938 kB / 0.8677 GB, free: 6.066 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001827/0.1233, allocations: 0.8085 MB / 0.8685 GB, free: 5.258 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.0001784/0.1235, allocations: 109.8 kB / 0.8686 GB, free: 5.141 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002571/0.1261, allocations: 1.89 MB / 0.8704 GB, free: 3.219 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.592e-05/0.1261, allocations: 21.81 kB / 0.8705 GB, free: 3.199 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002002/0.1281, allocations: 1.445 MB / 0.8719 GB, free: 1.711 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.1292, allocations: 498.3 kB / 0.8723 GB, free: 1.234 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/0.1346, allocations: 5.338 MB / 0.8776 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008429/0.1355, allocations: 0.9032 MB / 0.8784 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003934/0.1359, allocations: 177.7 kB / 0.8786 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005817/0.1365, allocations: 391 kB / 0.879 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of SimCode: time 1.012e-06/0.1365, allocations: 0 / 0.879 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of Templates: time 0.0466/0.1831, allocations: 41.52 MB / 0.9195 GB, free: 1.297 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 -s gbode -gbm=radauIIA3 -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.652724295388907]