Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00238/0.00238, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002784/0.002784, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.56/1.56, allocations: 177.1 MB / 203.9 MB, free: 5.316 MB / 186.7 MB " [Timeout remaining time 178] 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 3.053/3.053, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_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.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.289e-05, allocations: 9.969 kB / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.03097/0.031, allocations: 20.45 MB / 0.8308 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01312/0.04412, allocations: 6.591 MB / 0.8372 GB, free: 6.977 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.04643, allocations: 112.2 kB / 0.8373 GB, free: 6.867 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.006653/0.05308, allocations: 2.318 MB / 0.8396 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003849/0.05693, allocations: 1.274 MB / 0.8408 GB, free: 3.273 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003804/0.06074, allocations: 1.302 MB / 0.8421 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.007111/0.06785, allocations: 4.939 MB / 0.8469 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005269/0.07312, allocations: 3.183 MB / 0.8501 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005272/0.07839, allocations: 3.04 MB / 0.853 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004104/0.08249, allocations: 2.334 MB / 0.8553 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0007604/0.08325, allocations: 432 kB / 0.8557 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.0853, allocations: 0.9553 MB / 0.8566 GB, free: 3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002242/0.08754, allocations: 1.812 MB / 0.8584 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002165/0.08971, allocations: 1.353 MB / 0.8597 GB, free: 15.82 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.008873/0.09858, allocations: 6.685 MB / 0.8663 GB, free: 9.125 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.09859, allocations: 4 kB / 0.8663 GB, free: 9.121 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.362e-06/0.09859, allocations: 0 / 0.8663 GB, free: 9.121 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001426/0.09873, allocations: 0 / 0.8663 GB, free: 9.121 MB / 0.823 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.008463/0.1072, allocations: 3.977 MB / 0.8702 GB, free: 5.086 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1072, allocations: 12.03 kB / 0.8702 GB, free: 5.074 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004109/0.1113, allocations: 1.025 MB / 0.8712 GB, free: 4.047 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00498/0.1163, allocations: 1.957 MB / 0.8731 GB, free: 2.035 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.1165, allocations: 226.3 kB / 0.8733 GB, free: 1.812 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000566/0.1171, allocations: 304.2 kB / 0.8736 GB, free: 1.516 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007103/0.1242, allocations: 3.503 MB / 0.877 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.35e-05/0.1243, allocations: 16.08 kB / 0.877 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003309/0.1246, allocations: 131.9 kB / 0.8771 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004932/0.1251, allocations: 237.7 kB / 0.8774 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/0.1291, allocations: 1.303 MB / 0.8786 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02662/0.1557, allocations: 17.84 MB / 0.8961 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.1571, allocations: 0.6507 MB / 0.8967 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.1582, allocations: 490.4 kB / 0.8972 GB, free: 8.453 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.02e-05/0.1583, allocations: 17 kB / 0.8972 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.1583, allocations: 50.39 kB / 0.8972 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 2.625e-06/0.1583, allocations: 4 kB / 0.8972 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of matching and sorting (n=138): time 0.01643/0.1748, allocations: 4.803 MB / 0.9019 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.1748, allocations: 64.72 kB / 0.902 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.1769, allocations: 1.345 MB / 0.9033 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.177, allocations: 49.7 kB / 0.9033 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.1783, allocations: 1.474 MB / 0.9048 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006225/0.1789, allocations: 0.5426 MB / 0.9053 GB, free: 52 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006715/0.1796, allocations: 361.1 kB / 0.9057 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002372/0.1799, allocations: 476.8 kB / 0.9061 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.1809, allocations: 419.8 kB / 0.9065 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.1825, allocations: 1.045 MB / 0.9075 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/0.1853, allocations: 1.652 MB / 0.9091 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.1853, allocations: 4 kB / 0.9092 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005693/0.191, allocations: 2.243 MB / 0.9113 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.191, allocations: 12.16 kB / 0.9114 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.191, allocations: 16 kB / 0.9114 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004066/0.1951, allocations: 0.9898 MB / 0.9123 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.1961, allocations: 259.6 kB / 0.9126 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/0.2127, allocations: 10.05 MB / 0.9224 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.2141, allocations: 95.84 kB / 0.9225 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.2142, allocations: 63.98 kB / 0.9226 GB, free: 13.53 MB / 0.8855 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.001008/0.2152, allocations: 340.2 kB / 0.9229 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004314/0.2157, allocations: 195.1 kB / 0.9231 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005191/0.2209, allocations: 1.896 MB / 0.9249 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.2209, allocations: 16 kB / 0.9249 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.2209, allocations: 12 kB / 0.9249 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.2209, allocations: 3.984 kB / 0.9249 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.2326, allocations: 5.025 MB / 0.9299 GB, free: 5.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.2326, allocations: 7.938 kB / 0.9299 GB, free: 5.879 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/0.2333, allocations: 147.8 kB / 0.93 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003686/0.237, allocations: 0.911 MB / 0.9309 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.2371, allocations: 31.98 kB / 0.9309 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01612/0.2532, allocations: 9.938 MB / 0.9406 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.2532, allocations: 7.938 kB / 0.9406 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005183/0.2584, allocations: 2.113 MB / 0.9427 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.2594, allocations: 326.8 kB / 0.943 GB, free: 7.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.2596, allocations: 28 kB / 0.943 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008346/0.2605, allocations: 83.83 kB / 0.9431 GB, free: 7.824 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003721/0.2608, allocations: 132.6 kB / 0.9432 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.2609, allocations: 47.94 kB / 0.9433 GB, free: 7.645 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001207/0.2622, allocations: 0.7762 MB / 0.944 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.2622, allocations: 0 / 0.944 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002092/0.2642, allocations: 0.6641 MB / 0.9447 GB, free: 6.199 MB / 0.9011 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.000253/0.2645, allocations: 131.1 kB / 0.9448 GB, free: 6.059 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004803/0.2693, allocations: 2.393 MB / 0.9472 GB, free: 3.625 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.2693, allocations: 0 / 0.9472 GB, free: 3.625 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003478/0.2728, allocations: 1.728 MB / 0.9488 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.2751, allocations: 488.7 kB / 0.9493 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009442/0.2845, allocations: 4.92 MB / 0.9541 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002499/0.287, allocations: 1.585 MB / 0.9557 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000977/0.288, allocations: 289.3 kB / 0.9559 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.2882, allocations: 80.5 kB / 0.956 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of SimCode: time 9.12e-07/0.2882, allocations: 4 kB / 0.956 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of Templates: time 0.06277/0.351, allocations: 33.46 MB / 0.9887 GB, free: 9.5 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.228523132042028]