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.001338/0.001338, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001742/0.001742, allocations: 161 kB / 24.16 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.9859/0.9859, 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.871/1.871, allocations: 377.9 MB / 0.624 GB, free: 8.305 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.843e-06/1.843e-06, allocations: 0 / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.354e-05, allocations: 2.312 kB / 0.76 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01061/0.01063, allocations: 13.68 MB / 0.7734 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007087/0.01772, allocations: 4.247 MB / 0.7775 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.01903, allocations: 127.1 kB / 0.7777 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.02016, allocations: 0.574 MB / 0.7782 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.02238, allocations: 1.728 MB / 0.7799 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.02401, allocations: 1.225 MB / 0.7811 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.005469/0.02948, allocations: 6.911 MB / 0.7879 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004099/0.03358, allocations: 3.9 MB / 0.7917 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.03765, allocations: 4.004 MB / 0.7956 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003162/0.04081, allocations: 3.407 MB / 0.7989 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0006557/0.04147, allocations: 0.5273 MB / 0.7994 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009439/0.04241, allocations: 0.6715 MB / 0.8001 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001706/0.04412, allocations: 2.689 MB / 0.8027 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001647/0.04577, allocations: 1.765 MB / 0.8044 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003314/0.04908, allocations: 4.597 MB / 0.8089 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.04908, allocations: 0 / 0.8089 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.373e-06/0.04908, allocations: 0 / 0.8089 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.865e-05/0.04915, allocations: 0 / 0.8089 GB, free: 4.371 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.003997/0.05315, allocations: 4.169 MB / 0.813 GB, free: 168 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.05319, allocations: 8.031 kB / 0.813 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003554/0.05674, allocations: 1.421 MB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.05893, allocations: 2.019 MB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.05907, allocations: 275.7 kB / 0.8166 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004218/0.05949, allocations: 364.3 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003514/0.063, allocations: 3.704 MB / 0.8206 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.95e-05/0.06306, allocations: 12.06 kB / 0.8206 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000282/0.06334, allocations: 160.3 kB / 0.8207 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003671/0.06371, allocations: 487.3 kB / 0.8212 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.06562, allocations: 1.391 MB / 0.8226 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/0.0773, allocations: 15.21 MB / 0.8374 GB, free: 6.375 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006933/0.078, allocations: 0.642 MB / 0.8381 GB, free: 5.727 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/0.07871, allocations: 0.6312 MB / 0.8387 GB, free: 5.098 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-05/0.07881, allocations: 26.69 kB / 0.8387 GB, free: 5.07 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.07884, allocations: 55.75 kB / 0.8387 GB, free: 5.008 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=146): time 2.885e-06/0.07884, allocations: 0 / 0.8387 GB, free: 5.008 MB / 0.7917 GB Notification: Performance of matching and sorting (n=149): time 0.01933/0.09817, allocations: 9.602 MB / 0.8481 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.0982, allocations: 64.72 kB / 0.8482 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008327/0.09903, allocations: 1.259 MB / 0.8494 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.09913, allocations: 45.7 kB / 0.8495 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008478/0.09998, allocations: 1.562 MB / 0.851 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.1003, allocations: 0.5421 MB / 0.8515 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003708/0.1007, allocations: 307.2 kB / 0.8518 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.1007, allocations: 305.1 kB / 0.8521 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.1012, allocations: 294.7 kB / 0.8524 GB, free: 7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.1018, allocations: 0.8188 MB / 0.8532 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.103, allocations: 1.329 MB / 0.8545 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.103, allocations: 11.94 kB / 0.8545 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.00611/0.1091, allocations: 3.46 MB / 0.8579 GB, free: 0.8672 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1091, allocations: 16.34 kB / 0.8579 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.1092, allocations: 23.98 kB / 0.8579 GB, free: 0.8281 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006405/0.1156, allocations: 2.758 MB / 0.8606 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.1161, allocations: 255.6 kB / 0.8608 GB, free: 13.82 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.1291, allocations: 9.707 MB / 0.8703 GB, free: 3.816 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000844/0.1299, allocations: 48 kB / 0.8704 GB, free: 3.77 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.13, allocations: 63.94 kB / 0.8704 GB, free: 3.707 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.0008727/0.1309, allocations: 224.1 kB / 0.8706 GB, free: 3.477 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.1312, allocations: 179.8 kB / 0.8708 GB, free: 3.301 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005927/0.1371, allocations: 3.391 MB / 0.8741 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1371, allocations: 16 kB / 0.8741 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.1371, allocations: 24 kB / 0.8742 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.1371, allocations: 11.91 kB / 0.8742 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008428/0.1455, allocations: 4.996 MB / 0.8791 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/0.1456, allocations: 4 kB / 0.8791 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.1459, allocations: 115.8 kB / 0.8792 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006617/0.1525, allocations: 2.7 MB / 0.8818 GB, free: 7.902 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/0.1527, allocations: 32 kB / 0.8818 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/0.1657, allocations: 9.69 MB / 0.8913 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1657, allocations: 4 kB / 0.8913 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006039/0.1717, allocations: 3.369 MB / 0.8946 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008091/0.1725, allocations: 374.4 kB / 0.8949 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.1727, allocations: 28 kB / 0.895 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.1732, allocations: 28 kB / 0.895 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004755/0.1737, allocations: 140.9 kB / 0.8951 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-05/0.1738, allocations: 35.98 kB / 0.8952 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005272/0.1743, allocations: 0.6169 MB / 0.8958 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1743, allocations: 0 / 0.8958 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002332/0.1766, allocations: 1.082 MB / 0.8968 GB, free: 8.137 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.0002298/0.1769, allocations: 120.2 kB / 0.8969 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004707/0.1816, allocations: 2.957 MB / 0.8998 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.508e-05/0.1816, allocations: 21.81 kB / 0.8999 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003601/0.1852, allocations: 2.366 MB / 0.9022 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.1867, allocations: 0.498 MB / 0.9026 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009606/0.1963, allocations: 6.411 MB / 0.9089 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.1977, allocations: 1.081 MB / 0.91 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005895/0.1983, allocations: 195.4 kB / 0.9102 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005858/0.1989, allocations: 395.1 kB / 0.9105 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of SimCode: time 1.953e-06/0.1989, allocations: 0 / 0.9105 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of Templates: time 0.06811/0.267, allocations: 58.64 MB / 0.9678 GB, free: 15.78 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 -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.864786520134658]