Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.000926/0.000926, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001986, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00112/0.00112, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002487, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.97/0.97, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09036/1.06, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.392/2.392, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2427/2.635, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.352e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01414/0.01416, allocations: 18.97 MB / 0.8368 GB, free: 15.82 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.0283, allocations: 9.862 MB / 0.8465 GB, free: 5.93 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00385/0.03215, allocations: 194.5 kB / 0.8466 GB, free: 5.738 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002789/0.03494, allocations: 0.8181 MB / 0.8474 GB, free: 4.914 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007427/0.04237, allocations: 2.904 MB / 0.8503 GB, free: 1.992 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003602/0.04597, allocations: 1.591 MB / 0.8518 GB, free: 408 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.009727/0.0557, allocations: 8.575 MB / 0.8602 GB, free: 7.797 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006525/0.06222, allocations: 4.678 MB / 0.8648 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/0.07266, allocations: 5.423 MB / 0.8701 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005632/0.07829, allocations: 3.639 MB / 0.8736 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001447/0.07974, allocations: 0.5898 MB / 0.8742 GB, free: 9.273 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.08204, allocations: 0.6872 MB / 0.8749 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002775/0.08481, allocations: 2.393 MB / 0.8772 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.003797/0.08861, allocations: 1.7 MB / 0.8789 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006237/0.09485, allocations: 4.635 MB / 0.8834 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.219e-05/0.09487, allocations: 0 / 0.8834 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.09487, allocations: 3.938 kB / 0.8834 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002684/0.09514, allocations: 0 / 0.8834 GB, free: 15.83 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.008571/0.1037, allocations: 5.939 MB / 0.8892 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.1038, allocations: 8.625 kB / 0.8892 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003231/0.107, allocations: 1.359 MB / 0.8905 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/0.1109, allocations: 2.384 MB / 0.8929 GB, free: 5.965 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.1111, allocations: 320.8 kB / 0.8932 GB, free: 5.648 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006073/0.1117, allocations: 436.2 kB / 0.8936 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005627/0.1174, allocations: 4.153 MB / 0.8976 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/0.1175, allocations: 23.81 kB / 0.8977 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002803/0.1178, allocations: 184 kB / 0.8978 GB, free: 448 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000405/0.1182, allocations: 312.1 kB / 0.8981 GB, free: 132 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.1202, allocations: 1.129 MB / 0.8992 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01634/0.1366, allocations: 15.25 MB / 0.9141 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.1372, allocations: 0.4997 MB / 0.9146 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004036/0.1376, allocations: 424.4 kB / 0.915 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-05/0.1377, allocations: 21.31 kB / 0.9151 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1377, allocations: 47.88 kB / 0.9151 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=130): time 4.338e-06/0.1377, allocations: 0 / 0.9151 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of matching and sorting (n=133): time 0.008061/0.1458, allocations: 3.925 MB / 0.9189 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.1458, allocations: 68.72 kB / 0.919 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.1474, allocations: 1.536 MB / 0.9205 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.1475, allocations: 53.7 kB / 0.9205 GB, free: 8.551 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007471/0.1483, allocations: 1.751 MB / 0.9223 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/0.1486, allocations: 491.7 kB / 0.9227 GB, free: 6.297 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.1489, allocations: 315.2 kB / 0.923 GB, free: 5.98 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.504e-05/0.149, allocations: 301.1 kB / 0.9233 GB, free: 5.684 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.1493, allocations: 207.9 kB / 0.9235 GB, free: 5.48 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.1498, allocations: 0.7564 MB / 0.9243 GB, free: 4.488 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.1511, allocations: 1.174 MB / 0.9254 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.1511, allocations: 8 kB / 0.9254 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.002416/0.1535, allocations: 1.629 MB / 0.927 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.1535, allocations: 16 kB / 0.927 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.1536, allocations: 16 kB / 0.927 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/0.1557, allocations: 0.852 MB / 0.9279 GB, free: 476 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/0.1566, allocations: 363.5 kB / 0.9282 GB, free: 112 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00809/0.1647, allocations: 12.55 MB / 0.9405 GB, free: 2.688 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.166, allocations: 55.98 kB / 0.9405 GB, free: 2.633 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.1662, allocations: 60 kB / 0.9406 GB, free: 2.574 MB / 0.9167 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 (183): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001205/0.1674, allocations: 228 kB / 0.9408 GB, free: 2.34 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/0.1677, allocations: 207.7 kB / 0.941 GB, free: 2.137 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.1697, allocations: 1.36 MB / 0.9423 GB, free: 0.7305 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.1697, allocations: 16 kB / 0.9423 GB, free: 0.7148 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/0.1697, allocations: 16 kB / 0.9423 GB, free: 0.6992 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.1697, allocations: 7.969 kB / 0.9423 GB, free: 0.6914 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004696/0.1744, allocations: 2.933 MB / 0.9452 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.1744, allocations: 4 kB / 0.9452 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004369/0.1748, allocations: 184.2 kB / 0.9454 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/0.1755, allocations: 302.4 kB / 0.9457 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/0.1773, allocations: 0.8167 MB / 0.9465 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.1774, allocations: 24 kB / 0.9465 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007606/0.185, allocations: 12.56 MB / 0.9588 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.185, allocations: 4 kB / 0.9588 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.1871, allocations: 1.487 MB / 0.9602 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/0.1874, allocations: 31.98 kB / 0.9603 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004996/0.1879, allocations: 28 kB / 0.9603 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.1882, allocations: 120.7 kB / 0.9604 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/0.1882, allocations: 32 kB / 0.9604 GB, free: 13.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000621/0.1888, allocations: 0.7701 MB / 0.9612 GB, free: 12.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1888, allocations: 0 / 0.9612 GB, free: 12.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001939/0.1908, allocations: 0.8672 MB / 0.962 GB, free: 11.38 MB / 0.948 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 (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001875/0.191, allocations: 132.1 kB / 0.9622 GB, free: 11.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002191/0.1932, allocations: 2.273 MB / 0.9644 GB, free: 8.855 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.059e-05/0.1932, allocations: 49.72 kB / 0.9644 GB, free: 8.812 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.1948, allocations: 1.786 MB / 0.9662 GB, free: 6.906 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.1968, allocations: 1.085 MB / 0.9672 GB, free: 5.855 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02841/0.2252, allocations: 6.882 MB / 0.9739 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009102/0.2261, allocations: 1.051 MB / 0.975 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0009794/0.2271, allocations: 300.3 kB / 0.9753 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.2282, allocations: 0.6747 MB / 0.9759 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of SimCode: time 2.535e-06/0.2282, allocations: 0 / 0.9759 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of Templates: time 0.07021/0.2984, allocations: 49.48 MB / 1.024 GB, free: 12.47 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.ref.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.211747641675174]