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.0009135/0.0009135, allocations: 93.06 kB / 19.65 MB, free: 284 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.001017/0.001017, allocations: 165 kB / 23.02 MB, free: 1.555 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.9384/0.9384, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.082/2.082, allocations: 429.5 MB / 0.6733 GB, free: 4.02 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.994e-06/1.994e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.698e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.006134/0.006161, allocations: 6.675 MB / 0.8847 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003247/0.009408, allocations: 2.218 MB / 0.8869 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004117/0.00982, allocations: 47.62 kB / 0.8869 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008003/0.01062, allocations: 270.2 kB / 0.8872 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008908/0.01151, allocations: 0.7032 MB / 0.8879 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008819/0.01239, allocations: 0.6629 MB / 0.8885 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002017/0.01441, allocations: 3.007 MB / 0.8914 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.01574, allocations: 1.416 MB / 0.8928 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.0173, allocations: 1.727 MB / 0.8945 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.01874, allocations: 1.614 MB / 0.8961 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002621/0.019, allocations: 236 kB / 0.8963 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004845/0.01949, allocations: 331.8 kB / 0.8966 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000754/0.02024, allocations: 1.165 MB / 0.8978 GB, free: 2.145 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006885/0.02093, allocations: 0.7952 MB / 0.8985 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.02274, allocations: 2.146 MB / 0.9006 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.02274, allocations: 0 / 0.9006 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.02274, allocations: 0 / 0.9006 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.893e-05/0.02277, allocations: 0 / 0.9006 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.002441/0.02522, allocations: 2.268 MB / 0.9029 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.02526, allocations: 12.03 kB / 0.9029 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/0.03004, allocations: 1.665 MB / 0.9045 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.03154, allocations: 1.178 MB / 0.9056 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-05/0.0316, allocations: 119.3 kB / 0.9058 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/0.03182, allocations: 148.3 kB / 0.9059 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.03419, allocations: 1.83 MB / 0.9077 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.03422, allocations: 4.125 kB / 0.9077 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.03436, allocations: 64.34 kB / 0.9078 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.03453, allocations: 211.1 kB / 0.908 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.03621, allocations: 0.8463 MB / 0.9088 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008439/0.04465, allocations: 8.979 MB / 0.9176 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.0457, allocations: 0.6395 MB / 0.9182 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/0.0464, allocations: 462.2 kB / 0.9186 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.916e-05/0.04647, allocations: 17 kB / 0.9186 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.0465, allocations: 50.39 kB / 0.9187 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 4.068e-06/0.04651, allocations: 0 / 0.9187 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183): time 0.01914/0.06565, allocations: 9.428 MB / 0.9279 GB, free: 2.805 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.06569, allocations: 69.41 kB / 0.928 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008563/0.06655, allocations: 0.9052 MB / 0.9288 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.06668, allocations: 53.7 kB / 0.9289 GB, free: 1.746 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/0.06709, allocations: 0.8627 MB / 0.9297 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004279/0.06751, allocations: 0.6819 MB / 0.9304 GB, free: 188 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000487/0.068, allocations: 353.1 kB / 0.9307 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.0681, allocations: 476.8 kB / 0.9312 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008475/0.06895, allocations: 475.7 kB / 0.9316 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.07012, allocations: 0.9693 MB / 0.9326 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.07234, allocations: 1.545 MB / 0.9341 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.07234, allocations: 0 / 0.9341 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009586/0.08193, allocations: 4.757 MB / 0.9387 GB, free: 7.262 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.08196, allocations: 8 kB / 0.9388 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.08198, allocations: 8 kB / 0.9388 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009248/0.09122, allocations: 3.598 MB / 0.9423 GB, free: 3.629 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005831/0.09181, allocations: 187.7 kB / 0.9425 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02468/0.1165, allocations: 19.39 MB / 0.9614 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.1177, allocations: 99.89 kB / 0.9615 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.1178, allocations: 68 kB / 0.9615 GB, free: 15.41 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.0005335/0.1184, allocations: 248.3 kB / 0.9618 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.1187, allocations: 203.1 kB / 0.962 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009125/0.1278, allocations: 4.736 MB / 0.9666 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.1278, allocations: 20 kB / 0.9666 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.915e-05/0.1279, allocations: 28 kB / 0.9666 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.1279, allocations: 11.95 kB / 0.9667 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.1413, allocations: 7.175 MB / 0.9737 GB, free: 2.812 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.1413, allocations: 4 kB / 0.9737 GB, free: 2.809 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.1416, allocations: 123.8 kB / 0.9738 GB, free: 2.688 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009354/0.151, allocations: 3.495 MB / 0.9772 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/0.1512, allocations: 32 kB / 0.9772 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02312/0.1743, allocations: 17.85 MB / 0.9947 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1743, allocations: 4 kB / 0.9947 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00951/0.1838, allocations: 4.691 MB / 0.9992 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009478/0.1848, allocations: 0.4989 MB / 0.9997 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.185, allocations: 39.98 kB / 0.9998 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/0.1856, allocations: 91.83 kB / 0.9999 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006526/0.1863, allocations: 169.6 kB / 1 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.1864, allocations: 44 kB / 1 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005727/0.187, allocations: 0.5461 MB / 1.001 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.187, allocations: 0 / 1.001 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002601/0.1896, allocations: 1.008 MB / 1.002 GB, free: 5.586 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.0002444/0.1898, allocations: 151 kB / 1.002 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005476/0.1953, allocations: 3.245 MB / 1.005 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1953, allocations: 0 / 1.005 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004237/0.1995, allocations: 2.739 MB / 1.008 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.2006, allocations: 235.6 kB / 1.008 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006268/0.2069, allocations: 4.059 MB / 1.012 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.2076, allocations: 0.635 MB / 1.012 GB, free: 10.26 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005562/0.2082, allocations: 287.2 kB / 1.013 GB, free: 9.977 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.2083, allocations: 64.5 kB / 1.013 GB, free: 9.914 MB / 0.9792 GB Notification: Performance of SimCode: time 2.595e-06/0.2083, allocations: 0 / 1.013 GB, free: 9.914 MB / 0.9792 GB Notification: Performance of Templates: time 0.3961/0.6045, allocations: 65.62 MB / 1.077 GB, free: 190 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.656171828974038]