Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0009989/0.0009989, allocations: 83.69 kB / 20.45 MB, free: 4.125 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.001018/0.001018, allocations: 169 kB / 23.82 MB, free: 0.7539 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.9274/0.9274, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.746/1.746, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 336 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.852e-05, allocations: 8.359 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.009939/0.009957, allocations: 11.87 MB / 0.7987 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005852/0.01581, allocations: 3.603 MB / 0.8022 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009361/0.01675, allocations: 111.2 kB / 0.8023 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009732/0.01772, allocations: 0.497 MB / 0.8028 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.0194, allocations: 1.104 MB / 0.8039 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.02091, allocations: 1.01 MB / 0.8049 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004146/0.02505, allocations: 4.872 MB / 0.8096 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003067/0.02812, allocations: 3.127 MB / 0.8127 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/0.03092, allocations: 3.004 MB / 0.8156 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/0.03323, allocations: 2.364 MB / 0.8179 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0004107/0.03364, allocations: 429.2 kB / 0.8184 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.03427, allocations: 0.5076 MB / 0.8188 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.03531, allocations: 1.808 MB / 0.8206 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.03633, allocations: 1.35 MB / 0.8219 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002639/0.03897, allocations: 3.354 MB / 0.8252 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.03898, allocations: 0 / 0.8252 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.423e-06/0.03898, allocations: 0.6562 kB / 0.8252 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.252e-05/0.03901, allocations: 0 / 0.8252 GB, free: 5.316 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003395/0.0424, allocations: 3.604 MB / 0.8287 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.04244, allocations: 8.031 kB / 0.8287 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.04422, allocations: 0.9857 MB / 0.8297 GB, free: 0.668 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.04647, allocations: 1.904 MB / 0.8316 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.0466, allocations: 226.2 kB / 0.8318 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003176/0.04692, allocations: 300.3 kB / 0.8321 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003423/0.05034, allocations: 3.136 MB / 0.8351 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-05/0.0504, allocations: 16.06 kB / 0.8351 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002028/0.0506, allocations: 135.9 kB / 0.8353 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002548/0.05085, allocations: 229.7 kB / 0.8355 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.05288, allocations: 1.134 MB / 0.8366 GB, free: 9.191 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.06327, allocations: 14.44 MB / 0.8507 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009771/0.06425, allocations: 0.5913 MB / 0.8513 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.0648, allocations: 430.4 kB / 0.8517 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.301e-05/0.06485, allocations: 24.98 kB / 0.8517 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.06488, allocations: 50.39 kB / 0.8518 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=107): time 2.555e-06/0.06488, allocations: 0 / 0.8518 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of matching and sorting (n=138): time 0.007556/0.07244, allocations: 4.498 MB / 0.8562 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.07247, allocations: 68.72 kB / 0.8562 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007495/0.07322, allocations: 1.001 MB / 0.8572 GB, free: 3.645 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.791e-05/0.07329, allocations: 49.7 kB / 0.8572 GB, free: 3.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008529/0.07414, allocations: 1.396 MB / 0.8586 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.07444, allocations: 0.5075 MB / 0.8591 GB, free: 1.668 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003081/0.07475, allocations: 297.2 kB / 0.8594 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.07486, allocations: 476.8 kB / 0.8598 GB, free: 0.9023 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/0.07531, allocations: 311.8 kB / 0.8601 GB, free: 0.5977 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/0.07603, allocations: 0.8807 MB / 0.861 GB, free: 15.48 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.07733, allocations: 1.313 MB / 0.8623 GB, free: 13.94 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.07733, allocations: 8 kB / 0.8623 GB, free: 13.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002663/0.08, allocations: 1.938 MB / 0.8642 GB, free: 11.97 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.08002, allocations: 15.94 kB / 0.8642 GB, free: 11.95 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.08003, allocations: 15.98 kB / 0.8642 GB, free: 11.94 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.08231, allocations: 0.9134 MB / 0.8651 GB, free: 11.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.08281, allocations: 255.6 kB / 0.8653 GB, free: 10.77 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007814/0.09062, allocations: 9.123 MB / 0.8743 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/0.09116, allocations: 99.78 kB / 0.8744 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/0.09123, allocations: 60 kB / 0.8744 GB, free: 1.125 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005175/0.09175, allocations: 248.2 kB / 0.8746 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.09194, allocations: 199.1 kB / 0.8748 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.09432, allocations: 1.658 MB / 0.8765 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.09433, allocations: 16.19 kB / 0.8765 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.09434, allocations: 19.98 kB / 0.8765 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.09435, allocations: 3.984 kB / 0.8765 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005069/0.09942, allocations: 3.989 MB / 0.8804 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.09942, allocations: 7.938 kB / 0.8804 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.09972, allocations: 143.8 kB / 0.8805 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/0.1015, allocations: 0.8553 MB / 0.8814 GB, free: 9.816 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/0.1016, allocations: 32 kB / 0.8814 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00744/0.109, allocations: 9.072 MB / 0.8903 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.109, allocations: 12 kB / 0.8903 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.1113, allocations: 1.875 MB / 0.8921 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003856/0.1117, allocations: 334.9 kB / 0.8924 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.1118, allocations: 28 kB / 0.8924 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.1122, allocations: 87.89 kB / 0.8925 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.1124, allocations: 132.6 kB / 0.8927 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.1125, allocations: 40 kB / 0.8927 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008329/0.1133, allocations: 0.5848 MB / 0.8933 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1133, allocations: 0 / 0.8933 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001533/0.1148, allocations: 0.6719 MB / 0.8939 GB, free: 12.48 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002274/0.1151, allocations: 139 kB / 0.8941 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002378/0.1174, allocations: 2.104 MB / 0.8961 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1174, allocations: 0.75 kB / 0.8961 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.1188, allocations: 1.575 MB / 0.8976 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.1199, allocations: 494.4 kB / 0.8981 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005516/0.1254, allocations: 4.788 MB / 0.9028 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006783/0.1261, allocations: 0.8077 MB / 0.9036 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005021/0.1266, allocations: 285.2 kB / 0.9039 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.1267, allocations: 84.5 kB / 0.9039 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.1267, allocations: 0 / 0.9039 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of Templates: time 0.03752/0.1643, allocations: 35.08 MB / 0.9382 GB, free: 15.53 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.408487472683191]