Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001398/0.001398, allocations: 80.92 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.001532/0.001532, 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 0.9858/0.9858, 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.906/1.906, allocations: 377.9 MB / 0.624 GB, free: 8.359 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0.875 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.26e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01198/0.01199, allocations: 13.73 MB / 0.7735 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004856/0.01685, allocations: 4.242 MB / 0.7776 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/0.01738, allocations: 127.1 kB / 0.7778 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008469/0.01823, allocations: 0.5884 MB / 0.7783 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.0198, allocations: 1.718 MB / 0.78 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.0212, allocations: 1.214 MB / 0.7812 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.004266/0.02547, allocations: 6.915 MB / 0.7879 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003009/0.02848, allocations: 3.907 MB / 0.7918 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003199/0.03168, allocations: 3.993 MB / 0.7957 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002637/0.03431, allocations: 3.404 MB / 0.799 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004756/0.03479, allocations: 0.5273 MB / 0.7995 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007485/0.03554, allocations: 0.6832 MB / 0.8002 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.03706, allocations: 2.689 MB / 0.8028 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.03825, allocations: 1.758 MB / 0.8045 GB, free: 8.906 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.04119, allocations: 4.597 MB / 0.809 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.04119, allocations: 0 / 0.809 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.272e-06/0.04119, allocations: 4 kB / 0.809 GB, free: 4.293 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.743e-05/0.04124, allocations: 0 / 0.809 GB, free: 4.293 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.003634/0.04487, allocations: 4.165 MB / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.04491, allocations: 12.03 kB / 0.8131 GB, free: 80 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/0.04865, allocations: 1.417 MB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.05069, allocations: 2.02 MB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.05081, allocations: 280.7 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003608/0.05118, allocations: 360.3 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003242/0.05442, allocations: 3.703 MB / 0.8207 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.686e-05/0.05447, allocations: 17.25 kB / 0.8207 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.05472, allocations: 160.3 kB / 0.8208 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000342/0.05507, allocations: 491.3 kB / 0.8213 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.05699, allocations: 1.387 MB / 0.8227 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.06803, allocations: 15.21 MB / 0.8375 GB, free: 6.309 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006911/0.06872, allocations: 0.6454 MB / 0.8381 GB, free: 5.656 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007148/0.06944, allocations: 0.6291 MB / 0.8388 GB, free: 5.031 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 9.534e-05/0.06953, allocations: 25.81 kB / 0.8388 GB, free: 5.004 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.06956, allocations: 56.31 kB / 0.8388 GB, free: 4.941 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=146): time 2.465e-06/0.06956, allocations: 0 / 0.8388 GB, free: 4.941 MB / 0.7917 GB Notification: Performance of matching and sorting (n=149): time 0.01884/0.08841, allocations: 9.598 MB / 0.8482 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.08844, allocations: 72.72 kB / 0.8483 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007784/0.08922, allocations: 1.247 MB / 0.8495 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.652e-05/0.08932, allocations: 49.7 kB / 0.8495 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006903/0.09001, allocations: 1.562 MB / 0.8511 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/0.0903, allocations: 0.5421 MB / 0.8516 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003597/0.09066, allocations: 307.2 kB / 0.8519 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.09071, allocations: 301.1 kB / 0.8522 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/0.09113, allocations: 298.7 kB / 0.8525 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.09176, allocations: 0.8227 MB / 0.8533 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.09297, allocations: 1.326 MB / 0.8546 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.09298, allocations: 11.88 kB / 0.8546 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.006102/0.09908, allocations: 3.48 MB / 0.858 GB, free: 0.7773 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.0991, allocations: 16.03 kB / 0.858 GB, free: 0.7617 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.09912, allocations: 16 kB / 0.858 GB, free: 0.7461 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006766/0.1059, allocations: 2.736 MB / 0.8607 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.1065, allocations: 275.5 kB / 0.8609 GB, free: 13.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.1192, allocations: 9.792 MB / 0.8705 GB, free: 3.645 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006871/0.1199, allocations: 52 kB / 0.8705 GB, free: 3.594 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.12, allocations: 60 kB / 0.8706 GB, free: 3.535 MB / 0.823 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 {(19,19,59.8%), (12,18,50.0%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006947/0.1207, allocations: 220.1 kB / 0.8708 GB, free: 3.309 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.1209, allocations: 183.8 kB / 0.871 GB, free: 3.129 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006437/0.1273, allocations: 3.395 MB / 0.8743 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.1273, allocations: 12 kB / 0.8743 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/0.1274, allocations: 27.94 kB / 0.8743 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.1274, allocations: 7.969 kB / 0.8744 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008559/0.1359, allocations: 5.004 MB / 0.8792 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1359, allocations: 4 kB / 0.8792 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.1363, allocations: 123.8 kB / 0.8794 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006598/0.1429, allocations: 2.711 MB / 0.882 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.75e-05/0.143, allocations: 28 kB / 0.882 GB, free: 7.672 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/0.1585, allocations: 9.755 MB / 0.8916 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.1585, allocations: 7.984 kB / 0.8916 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007965/0.1664, allocations: 3.365 MB / 0.8949 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006601/0.1671, allocations: 374.4 kB / 0.8952 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.1673, allocations: 35.94 kB / 0.8952 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/0.168, allocations: 24 kB / 0.8953 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004596/0.1684, allocations: 152.8 kB / 0.8954 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.1685, allocations: 28 kB / 0.8954 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005877/0.1691, allocations: 0.6247 MB / 0.8961 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.1691, allocations: 0 / 0.8961 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002368/0.1715, allocations: 1.082 MB / 0.8971 GB, free: 7.863 MB / 0.8542 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 {(12,10,52.8%), (12,18,50.0%), (19,19,57.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002157/0.1717, allocations: 116.3 kB / 0.8972 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005783/0.1775, allocations: 2.961 MB / 0.9001 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.491e-05/0.1775, allocations: 21.81 kB / 0.9001 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004449/0.182, allocations: 2.365 MB / 0.9024 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.1835, allocations: 0.4953 MB / 0.9029 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00844/0.1919, allocations: 6.415 MB / 0.9092 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.193, allocations: 1.084 MB / 0.9102 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004847/0.1935, allocations: 191.4 kB / 0.9104 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007378/0.1942, allocations: 391.1 kB / 0.9108 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of SimCode: time 8.02e-07/0.1942, allocations: 0 / 0.9108 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of Templates: time 0.06016/0.2544, allocations: 58.64 MB / 0.9681 GB, free: 15.5 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.787105713039637]