Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001431/0.001431, allocations: 93.16 kB / 19.65 MB, free: 292 kB / 13.93 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.001506/0.001506, allocations: 172.9 kB / 23.02 MB, free: 1.562 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.9866/0.9866, allocations: 177.1 MB / 203.4 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.115/2.115, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.886e-05, allocations: 6.812 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.005732/0.005751, allocations: 6.68 MB / 0.8847 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002805/0.008556, allocations: 2.216 MB / 0.8869 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.008861, allocations: 43.69 kB / 0.8869 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006538/0.009515, allocations: 266.2 kB / 0.8872 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000785/0.0103, allocations: 0.7026 MB / 0.8879 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007673/0.01107, allocations: 0.6667 MB / 0.8885 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.01353, allocations: 2.999 MB / 0.8914 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.01512, allocations: 1.42 MB / 0.8928 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.01708, allocations: 1.735 MB / 0.8945 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.01888, allocations: 1.629 MB / 0.8961 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004121/0.01929, allocations: 232 kB / 0.8963 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005997/0.01989, allocations: 335.8 kB / 0.8967 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0008035/0.02069, allocations: 1.161 MB / 0.8978 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0008722/0.02156, allocations: 0.7914 MB / 0.8986 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.02339, allocations: 2.143 MB / 0.9007 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.0234, allocations: 0 / 0.9007 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.0234, allocations: 0 / 0.9007 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.107e-05/0.02346, allocations: 3.938 kB / 0.9007 GB, free: 15.2 MB / 0.8698 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.002811/0.02627, allocations: 2.26 MB / 0.9029 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.02631, allocations: 8.031 kB / 0.9029 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004603/0.03092, allocations: 1.646 MB / 0.9045 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.03221, allocations: 1.171 MB / 0.9056 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.03227, allocations: 111.4 kB / 0.9057 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.03247, allocations: 148.3 kB / 0.9059 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.03475, allocations: 1.827 MB / 0.9077 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.03478, allocations: 12.11 kB / 0.9077 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.03492, allocations: 60.34 kB / 0.9077 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001707/0.03509, allocations: 211.1 kB / 0.9079 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.03667, allocations: 0.8541 MB / 0.9088 GB, free: 6.672 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.0474, allocations: 8.959 MB / 0.9175 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.04885, allocations: 0.6499 MB / 0.9181 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.0499, allocations: 466.1 kB / 0.9186 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.924e-05/0.04999, allocations: 17 kB / 0.9186 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.05002, allocations: 46.39 kB / 0.9186 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 3.416e-06/0.05003, allocations: 0 / 0.9186 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183): time 0.02879/0.07882, allocations: 9.428 MB / 0.9279 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.07887, allocations: 73.41 kB / 0.9279 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.07998, allocations: 0.8974 MB / 0.9288 GB, free: 1.863 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.08013, allocations: 57.7 kB / 0.9289 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005358/0.08067, allocations: 0.8666 MB / 0.9297 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005881/0.08126, allocations: 0.678 MB / 0.9304 GB, free: 244 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007286/0.08199, allocations: 353.1 kB / 0.9307 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.08211, allocations: 476.8 kB / 0.9312 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.08337, allocations: 467.7 kB / 0.9316 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.08496, allocations: 0.9732 MB / 0.9325 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003205/0.08816, allocations: 1.545 MB / 0.9341 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.08817, allocations: 4 kB / 0.9341 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.00946/0.09763, allocations: 4.753 MB / 0.9387 GB, free: 7.32 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.09766, allocations: 16.09 kB / 0.9387 GB, free: 7.305 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.09767, allocations: 8 kB / 0.9387 GB, free: 7.297 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009094/0.1068, allocations: 3.594 MB / 0.9422 GB, free: 3.684 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.1073, allocations: 195.6 kB / 0.9424 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02261/0.1299, allocations: 19.37 MB / 0.9613 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008652/0.1307, allocations: 103.9 kB / 0.9614 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003365/0.1311, allocations: 68 kB / 0.9615 GB, free: 15.46 MB / 0.9323 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.0005108/0.1316, allocations: 252.3 kB / 0.9617 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.1318, allocations: 199.1 kB / 0.9619 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008885/0.1407, allocations: 4.74 MB / 0.9666 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.1407, allocations: 16 kB / 0.9666 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-05/0.1408, allocations: 28 kB / 0.9666 GB, free: 10.19 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.1408, allocations: 7.969 kB / 0.9666 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.1525, allocations: 7.182 MB / 0.9736 GB, free: 2.863 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.1525, allocations: 4 kB / 0.9736 GB, free: 2.859 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.1527, allocations: 119.8 kB / 0.9737 GB, free: 2.742 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008675/0.1614, allocations: 3.488 MB / 0.9772 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.1615, allocations: 36 kB / 0.9772 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02083/0.1823, allocations: 17.85 MB / 0.9946 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1823, allocations: 4 kB / 0.9946 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008878/0.1912, allocations: 4.687 MB / 0.9992 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006703/0.1919, allocations: 0.4989 MB / 0.9997 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.1921, allocations: 43.98 kB / 0.9997 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/0.1926, allocations: 95.83 kB / 0.9998 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005808/0.1932, allocations: 165.6 kB / 1 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-05/0.1933, allocations: 48 kB / 1 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004795/0.1938, allocations: 0.5461 MB / 1.001 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1938, allocations: 0 / 1.001 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002055/0.1959, allocations: 1.008 MB / 1.002 GB, free: 5.637 MB / 0.9636 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.0002477/0.1961, allocations: 149.6 kB / 1.002 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004788/0.2009, allocations: 3.245 MB / 1.005 GB, free: 2.16 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2009, allocations: 4 kB / 1.005 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003507/0.2044, allocations: 2.744 MB / 1.008 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/0.2052, allocations: 239.1 kB / 1.008 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005234/0.2105, allocations: 4.045 MB / 1.012 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.2111, allocations: 0.6389 MB / 1.012 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004415/0.2115, allocations: 279.2 kB / 1.013 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.2117, allocations: 60.5 kB / 1.013 GB, free: 9.977 MB / 0.9792 GB Notification: Performance of SimCode: time 1.763e-06/0.2117, allocations: 0 / 1.013 GB, free: 9.977 MB / 0.9792 GB Notification: Performance of Templates: time 0.3975/0.6092, allocations: 66.38 MB / 1.077 GB, free: 190.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.476056138984859]