Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001893/0.001893, allocations: 87.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.001911/0.001911, allocations: 157.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.546/1.546, allocations: 177.1 MB / 203.9 MB, free: 5.312 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 2.976/2.976, allocations: 377.8 MB / 0.6232 GB, free: 8.535 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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.02e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04798/0.04801, allocations: 33.52 MB / 0.8436 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03065/0.07865, allocations: 15.03 MB / 0.8582 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00422/0.08288, allocations: 214.4 kB / 0.8584 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01185/0.09473, allocations: 3.772 MB / 0.8621 GB, free: 13.46 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.009832/0.1046, allocations: 3.075 MB / 0.8651 GB, free: 10.36 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007319/0.1119, allocations: 2.357 MB / 0.8674 GB, free: 8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01434/0.1262, allocations: 9.008 MB / 0.8762 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01029/0.1365, allocations: 5.519 MB / 0.8816 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01303/0.1495, allocations: 5.73 MB / 0.8872 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008658/0.1582, allocations: 3.905 MB / 0.891 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002348/0.1605, allocations: 0.7109 MB / 0.8917 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004723/0.1653, allocations: 1.634 MB / 0.8933 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.004666/0.1699, allocations: 3.059 MB / 0.8963 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.006007/0.1759, allocations: 2.39 MB / 0.8986 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01698/0.1929, allocations: 11.43 MB / 0.9098 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1929, allocations: 0 / 0.9098 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1929, allocations: 4 kB / 0.9098 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003052/0.1932, allocations: 0 / 0.9098 GB, free: 12.39 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01701/0.2102, allocations: 6.839 MB / 0.9165 GB, free: 5.48 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.2103, allocations: 8.031 kB / 0.9165 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008066/0.2183, allocations: 1.807 MB / 0.9182 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00981/0.2282, allocations: 3.452 MB / 0.9216 GB, free: 128 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004002/0.2286, allocations: 374.4 kB / 0.922 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.2299, allocations: 0.5003 MB / 0.9225 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01282/0.2427, allocations: 5.995 MB / 0.9283 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/0.2429, allocations: 23.81 kB / 0.9283 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005633/0.2434, allocations: 216 kB / 0.9285 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001251/0.2447, allocations: 437.6 kB / 0.929 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006947/0.2516, allocations: 2.263 MB / 0.9312 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04764/0.2993, allocations: 28.89 MB / 0.9594 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.3017, allocations: 1.026 MB / 0.9604 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/0.3039, allocations: 0.8651 MB / 0.9612 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.304, allocations: 34 kB / 0.9613 GB, free: 6.164 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.75e-05/0.3041, allocations: 59.38 kB / 0.9613 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=171): time 3.717e-06/0.3041, allocations: 4 kB / 0.9613 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of matching and sorting (n=276): time 0.03284/0.3369, allocations: 9.833 MB / 0.9709 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/0.337, allocations: 85.56 kB / 0.971 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004194/0.3412, allocations: 2.576 MB / 0.9735 GB, free: 9.539 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004736/0.3417, allocations: 73.7 kB / 0.9736 GB, free: 9.461 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002692/0.3444, allocations: 2.549 MB / 0.9761 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/0.346, allocations: 1.085 MB / 0.9771 GB, free: 5.793 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/0.3474, allocations: 0.6303 MB / 0.9778 GB, free: 5.148 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002645/0.3476, allocations: 476.8 kB / 0.9782 GB, free: 4.68 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.3498, allocations: 0.8999 MB / 0.9791 GB, free: 3.777 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003191/0.3529, allocations: 1.885 MB / 0.9809 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006092/0.359, allocations: 3.208 MB / 0.9841 GB, free: 13.99 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/0.3591, allocations: 4 kB / 0.9841 GB, free: 13.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01446/0.3735, allocations: 4.938 MB / 0.9889 GB, free: 8.973 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.3736, allocations: 15.98 kB / 0.9889 GB, free: 8.957 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.689e-05/0.3736, allocations: 20 kB / 0.9889 GB, free: 8.938 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01317/0.3868, allocations: 2.916 MB / 0.9918 GB, free: 6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/0.3887, allocations: 403.4 kB / 0.9922 GB, free: 5.605 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0434/0.4321, allocations: 23.12 MB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/0.4351, allocations: 167.8 kB / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003515/0.4354, allocations: 108 kB / 1.015 GB, free: 13.48 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001852/0.4373, allocations: 0.4999 MB / 1.015 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009525/0.4382, allocations: 406.1 kB / 1.016 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/0.4518, allocations: 4.442 MB / 1.02 GB, free: 8.039 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-05/0.4519, allocations: 24 kB / 1.02 GB, free: 8.016 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.075e-05/0.4519, allocations: 32 kB / 1.02 GB, free: 7.984 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.079e-05/0.452, allocations: 19.83 kB / 1.02 GB, free: 7.965 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0261/0.4781, allocations: 9.937 MB / 1.03 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/0.4781, allocations: 8 kB / 1.03 GB, free: 13.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.4792, allocations: 235.7 kB / 1.03 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0119/0.4911, allocations: 2.679 MB / 1.033 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002734/0.4913, allocations: 52 kB / 1.033 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04074/0.5321, allocations: 22.66 MB / 1.055 GB, free: 3.434 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.5321, allocations: 15.94 kB / 1.055 GB, free: 3.418 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3637/0.8958, allocations: 4.462 MB / 1.059 GB, free: 251.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/0.8981, allocations: 0.6473 MB / 1.06 GB, free: 251.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000616/0.8987, allocations: 53.22 kB / 1.06 GB, free: 251.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/0.9006, allocations: 169.8 kB / 1.06 GB, free: 251.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000893/0.9015, allocations: 275.1 kB / 1.06 GB, free: 251.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/0.9016, allocations: 71.59 kB / 1.061 GB, free: 251.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001867/0.9035, allocations: 1.465 MB / 1.062 GB, free: 251.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.9035, allocations: 0 / 1.062 GB, free: 251.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004125/0.9076, allocations: 1.377 MB / 1.063 GB, free: 251.5 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003617/0.908, allocations: 175.8 kB / 1.064 GB, free: 251.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00884/0.9168, allocations: 5.238 MB / 1.069 GB, free: 250 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/0.9168, allocations: 2.875 kB / 1.069 GB, free: 250 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.006397/0.9232, allocations: 3.931 MB / 1.072 GB, free: 248.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/0.928, allocations: 1.018 MB / 1.073 GB, free: 248.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.9418, allocations: 9.14 MB / 1.082 GB, free: 245.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003649/0.9455, allocations: 2.798 MB / 1.085 GB, free: 244.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001948/0.9474, allocations: 476.8 kB / 1.086 GB, free: 244.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.9479, allocations: 147.5 kB / 1.086 GB, free: 244.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.503e-06/0.9479, allocations: 1.25 kB / 1.086 GB, free: 244.8 MB / 1.01 GB Notification: Performance of Templates: time 0.1031/1.051, allocations: 76.6 MB / 1.161 GB, free: 205.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 10.93757801502943]