Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0009976/0.0009976, allocations: 87.58 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.001186/0.001186, 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 0.9618/0.9618, allocations: 177.1 MB / 204.2 MB, free: 5.27 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.923/1.923, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] 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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.152e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.006161/0.006183, allocations: 6.678 MB / 0.8181 GB, free: 11 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003464/0.009647, allocations: 2.21 MB / 0.8202 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005182/0.01017, allocations: 52.53 kB / 0.8203 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000743/0.01091, allocations: 266.2 kB / 0.8205 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.01202, allocations: 0.7099 MB / 0.8212 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.01305, allocations: 0.6551 MB / 0.8219 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002358/0.01541, allocations: 3.007 MB / 0.8248 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.01687, allocations: 1.419 MB / 0.8262 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.0186, allocations: 1.727 MB / 0.8279 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.02012, allocations: 1.613 MB / 0.8295 GB, free: 15.31 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002673/0.02039, allocations: 236.5 kB / 0.8297 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006361/0.02102, allocations: 339.6 kB / 0.83 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000727/0.02175, allocations: 1.166 MB / 0.8311 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006632/0.02242, allocations: 0.7875 MB / 0.8319 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.02406, allocations: 2.156 MB / 0.834 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.02407, allocations: 0 / 0.834 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.653e-06/0.02407, allocations: 0 / 0.834 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.678e-05/0.0241, allocations: 0 / 0.834 GB, free: 10.63 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002408/0.0265, allocations: 2.258 MB / 0.8362 GB, free: 8.328 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.02655, allocations: 11.69 kB / 0.8362 GB, free: 8.32 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/0.03136, allocations: 1.664 MB / 0.8379 GB, free: 6.66 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.03293, allocations: 1.182 MB / 0.839 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/0.03299, allocations: 115.4 kB / 0.8391 GB, free: 5.34 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.03322, allocations: 148.3 kB / 0.8393 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.03567, allocations: 1.83 MB / 0.841 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.0357, allocations: 0.9062 kB / 0.841 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.03585, allocations: 68.33 kB / 0.8411 GB, free: 3.148 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/0.03602, allocations: 212.7 kB / 0.8413 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.03773, allocations: 0.8503 MB / 0.8421 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008713/0.04644, allocations: 8.967 MB / 0.8509 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.04772, allocations: 0.645 MB / 0.8515 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007087/0.04843, allocations: 462.2 kB / 0.852 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.049e-05/0.04849, allocations: 17 kB / 0.852 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.04852, allocations: 46.39 kB / 0.852 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=104): time 2.705e-06/0.04852, allocations: 3.938 kB / 0.852 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of matching and sorting (n=183): time 0.01911/0.06763, allocations: 9.432 MB / 0.8612 GB, free: 14.26 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.06767, allocations: 77.39 kB / 0.8613 GB, free: 14.18 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007806/0.06845, allocations: 0.8973 MB / 0.8622 GB, free: 13.26 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.06855, allocations: 57.7 kB / 0.8623 GB, free: 13.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/0.06893, allocations: 0.8666 MB / 0.8631 GB, free: 12.32 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004095/0.06934, allocations: 0.6742 MB / 0.8638 GB, free: 11.64 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004753/0.06982, allocations: 353.1 kB / 0.8641 GB, free: 11.29 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.06991, allocations: 476.8 kB / 0.8645 GB, free: 10.82 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008483/0.07076, allocations: 471.7 kB / 0.865 GB, free: 10.36 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.0721, allocations: 0.9693 MB / 0.8659 GB, free: 9.219 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.07404, allocations: 1.545 MB / 0.8675 GB, free: 7.508 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.07405, allocations: 4 kB / 0.8675 GB, free: 7.504 MB / 0.823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009465/0.08352, allocations: 4.751 MB / 0.8721 GB, free: 2.723 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.08354, allocations: 14.78 kB / 0.8721 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.08356, allocations: 8 kB / 0.8721 GB, free: 2.703 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009076/0.09263, allocations: 3.599 MB / 0.8756 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/0.09316, allocations: 195.7 kB / 0.8758 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02394/0.1171, allocations: 19.37 MB / 0.8947 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.1183, allocations: 99.89 kB / 0.8948 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.1184, allocations: 64 kB / 0.8949 GB, free: 10.88 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000504/0.1189, allocations: 256.3 kB / 0.8951 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.1192, allocations: 207.1 kB / 0.8953 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008951/0.1282, allocations: 4.732 MB / 0.9 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.1282, allocations: 16 kB / 0.9 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.138e-05/0.1282, allocations: 32 kB / 0.9 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.1282, allocations: 7.969 kB / 0.9 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.1406, allocations: 7.182 MB / 0.907 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.1407, allocations: 4 kB / 0.907 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.1409, allocations: 119.8 kB / 0.9071 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009294/0.1502, allocations: 3.488 MB / 0.9105 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/0.1504, allocations: 32 kB / 0.9106 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02257/0.173, allocations: 17.85 MB / 0.928 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.173, allocations: 7.938 kB / 0.928 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009075/0.182, allocations: 4.687 MB / 0.9326 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008534/0.1829, allocations: 0.5066 MB / 0.9331 GB, free: 2.969 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.1831, allocations: 40 kB / 0.9331 GB, free: 2.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006633/0.1837, allocations: 95.83 kB / 0.9332 GB, free: 2.836 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000656/0.1844, allocations: 161.6 kB / 0.9334 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.1845, allocations: 51.98 kB / 0.9334 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005223/0.185, allocations: 0.5383 MB / 0.9339 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.185, allocations: 0 / 0.9339 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002354/0.1874, allocations: 1.012 MB / 0.9349 GB, free: 1.066 MB / 0.8855 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 (66): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002523/0.1876, allocations: 147.1 kB / 0.9351 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004975/0.1926, allocations: 3.252 MB / 0.9383 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1926, allocations: 0 / 0.9383 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003968/0.1966, allocations: 2.75 MB / 0.9409 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009698/0.1975, allocations: 238.8 kB / 0.9412 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005948/0.2035, allocations: 4.052 MB / 0.9451 GB, free: 6.387 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007058/0.2042, allocations: 0.635 MB / 0.9457 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005023/0.2047, allocations: 287.1 kB / 0.946 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.2048, allocations: 60.5 kB / 0.9461 GB, free: 5.379 MB / 0.9011 GB Notification: Performance of SimCode: time 1.623e-06/0.2048, allocations: 4 kB / 0.9461 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of Templates: time 0.06504/0.2699, allocations: 65.63 MB / 1.01 GB, free: 3.617 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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: 6.083295786753297]