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.001088/0.001088, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009919/0.0009919, allocations: 169 kB / 24.06 MB, free: 456 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.9457/0.9457, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.108/2.108, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.483e-06/1.483e-06, allocations: 0 / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.516e-05, allocations: 6.312 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.00542/0.005436, allocations: 6.541 MB / 0.8858 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.007993, allocations: 2.211 MB / 0.888 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.008264, allocations: 47.69 kB / 0.888 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.008782, allocations: 266.1 kB / 0.8883 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007058/0.009487, allocations: 0.7071 MB / 0.8889 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.01016, allocations: 0.6629 MB / 0.8896 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.01232, allocations: 3.007 MB / 0.8925 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.01352, allocations: 1.42 MB / 0.8939 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.01484, allocations: 1.723 MB / 0.8956 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.01617, allocations: 1.629 MB / 0.8972 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002273/0.0164, allocations: 236 kB / 0.8974 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.01679, allocations: 339.7 kB / 0.8977 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0006473/0.01744, allocations: 1.158 MB / 0.8989 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0008638/0.0183, allocations: 0.7913 MB / 0.8996 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.01966, allocations: 2.139 MB / 0.9017 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01966, allocations: 0 / 0.9017 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.92e-07/0.01966, allocations: 0 / 0.9017 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.01968, allocations: 0 / 0.9017 GB, free: 15.07 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.002078/0.02176, allocations: 2.267 MB / 0.9039 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.02179, allocations: 8.031 kB / 0.904 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004071/0.02586, allocations: 1.291 MB / 0.9052 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.02688, allocations: 1.034 MB / 0.9062 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.732e-05/0.02694, allocations: 115.4 kB / 0.9063 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004431/0.02738, allocations: 152.3 kB / 0.9065 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.02905, allocations: 1.655 MB / 0.9081 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.02908, allocations: 8.062 kB / 0.9081 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.02921, allocations: 68.34 kB / 0.9082 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/0.02937, allocations: 203.1 kB / 0.9084 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.03046, allocations: 0.6659 MB / 0.909 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00672/0.03718, allocations: 8.272 MB / 0.9171 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007098/0.03789, allocations: 0.5527 MB / 0.9176 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.03837, allocations: 398.1 kB / 0.918 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.357e-05/0.03843, allocations: 20.94 kB / 0.918 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.03846, allocations: 46.39 kB / 0.9181 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 2.504e-06/0.03846, allocations: 0 / 0.9181 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183): time 0.01632/0.05478, allocations: 8.208 MB / 0.9261 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.05481, allocations: 77.34 kB / 0.9262 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.05538, allocations: 0.8734 MB / 0.927 GB, free: 4.668 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.05548, allocations: 53.7 kB / 0.9271 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006064/0.05609, allocations: 0.8782 MB / 0.9279 GB, free: 3.719 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/0.05648, allocations: 0.6702 MB / 0.9286 GB, free: 3.043 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004999/0.05698, allocations: 369 kB / 0.9289 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.05708, allocations: 476.8 kB / 0.9294 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005439/0.05762, allocations: 355.7 kB / 0.9297 GB, free: 1.859 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.05839, allocations: 0.8598 MB / 0.9306 GB, free: 0.8281 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.05978, allocations: 1.333 MB / 0.9319 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.05978, allocations: 8 kB / 0.9319 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008165/0.06795, allocations: 4.13 MB / 0.9359 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.06797, allocations: 10.34 kB / 0.9359 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.06798, allocations: 8 kB / 0.9359 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00793/0.07591, allocations: 3.234 MB / 0.9391 GB, free: 7.895 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.07629, allocations: 179.7 kB / 0.9393 GB, free: 7.719 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01999/0.09628, allocations: 17.85 MB / 0.9567 GB, free: 5.418 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/0.09708, allocations: 44 kB / 0.9567 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.09719, allocations: 56 kB / 0.9568 GB, free: 5.32 MB / 0.9167 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.0004761/0.09767, allocations: 252.3 kB / 0.957 GB, free: 5.062 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.09794, allocations: 203.1 kB / 0.9572 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007664/0.1056, allocations: 4.154 MB / 0.9613 GB, free: 0.668 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.1056, allocations: 19.98 kB / 0.9613 GB, free: 0.6484 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.64e-05/0.1056, allocations: 32 kB / 0.9613 GB, free: 0.6172 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.1056, allocations: 11.91 kB / 0.9613 GB, free: 0.6055 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.116, allocations: 6.117 MB / 0.9673 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.413e-06/0.116, allocations: 4 kB / 0.9673 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.1162, allocations: 103.8 kB / 0.9674 GB, free: 10.26 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008092/0.1243, allocations: 3.147 MB / 0.9705 GB, free: 7.098 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.1244, allocations: 36 kB / 0.9705 GB, free: 7.062 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/0.1428, allocations: 16.5 MB / 0.9866 GB, free: 6.094 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1428, allocations: 7.938 kB / 0.9866 GB, free: 6.086 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007873/0.1507, allocations: 4.117 MB / 0.9907 GB, free: 1.859 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007836/0.1515, allocations: 422.8 kB / 0.9911 GB, free: 1.445 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.1516, allocations: 35.95 kB / 0.9911 GB, free: 1.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/0.1522, allocations: 35.94 kB / 0.9911 GB, free: 1.375 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004736/0.1527, allocations: 165.6 kB / 0.9913 GB, free: 1.215 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.385e-05/0.1528, allocations: 39.94 kB / 0.9913 GB, free: 1.176 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003464/0.1531, allocations: 0.5029 MB / 0.9918 GB, free: 0.6602 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1531, allocations: 0 / 0.9918 GB, free: 0.6602 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001995/0.1551, allocations: 1.008 MB / 0.9928 GB, free: 15.65 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.0002087/0.1553, allocations: 147.1 kB / 0.9929 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003612/0.1589, allocations: 3.018 MB / 0.9959 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1589, allocations: 192 / 0.9959 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003349/0.1623, allocations: 2.557 MB / 0.9984 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.1631, allocations: 246.8 kB / 0.9986 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.1673, allocations: 4.016 MB / 1.003 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.1678, allocations: 0.635 MB / 1.003 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002467/0.168, allocations: 111.5 kB / 1.003 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.1683, allocations: 242.1 kB / 1.003 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of SimCode: time 7.81e-07/0.1683, allocations: 0 / 1.003 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of Templates: time 0.371/0.5394, allocations: 68.16 MB / 1.07 GB, free: 191.3 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.519303344190121]