Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001479/0.001479, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001737/0.001737, allocations: 173 kB / 23.49 MB, free: 1.055 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.9441/0.9441, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.051/2.051, allocations: 429.5 MB / 0.6736 GB, free: 4.012 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.947e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01209/0.01211, allocations: 14.96 MB / 0.8928 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.02361, allocations: 10.47 MB / 0.903 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.02471, allocations: 87.19 kB / 0.9031 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.02721, allocations: 1.719 MB / 0.9048 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.005428/0.03264, allocations: 1.91 MB / 0.9067 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.03453, allocations: 0.7676 MB / 0.9074 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003811/0.03834, allocations: 2.843 MB / 0.9102 GB, free: 5.77 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.03966, allocations: 1.196 MB / 0.9114 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.04164, allocations: 2.113 MB / 0.9134 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009318/0.04257, allocations: 0.966 MB / 0.9144 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.04273, allocations: 156 kB / 0.9145 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.04384, allocations: 0.7365 MB / 0.9152 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004066/0.04425, allocations: 0.6347 MB / 0.9158 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0007765/0.04502, allocations: 0.6429 MB / 0.9165 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.04654, allocations: 1.799 MB / 0.9182 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.04655, allocations: 4 kB / 0.9182 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.123e-06/0.04655, allocations: 0 / 0.9182 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.877e-05/0.04657, allocations: 0 / 0.9182 GB, free: 13.47 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002204/0.04877, allocations: 2.244 MB / 0.9204 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.04881, allocations: 8.031 kB / 0.9204 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/0.05382, allocations: 1.797 MB / 0.9222 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.0553, allocations: 1.234 MB / 0.9234 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/0.05534, allocations: 86.69 kB / 0.9235 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.05551, allocations: 124.3 kB / 0.9236 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.05774, allocations: 1.955 MB / 0.9255 GB, free: 5.695 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.05778, allocations: 11.88 kB / 0.9255 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.0579, allocations: 47.98 kB / 0.9256 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003413/0.05824, allocations: 198.1 kB / 0.9258 GB, free: 5.441 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.05958, allocations: 0.8486 MB / 0.9266 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006873/0.06645, allocations: 8.359 MB / 0.9347 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.06786, allocations: 0.8428 MB / 0.9356 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.06835, allocations: 369.5 kB / 0.9359 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.06841, allocations: 17 kB / 0.9359 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.06844, allocations: 54.39 kB / 0.936 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=89): time 3.737e-06/0.06844, allocations: 0 / 0.936 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of matching and sorting (n=153): time 0.01099/0.07943, allocations: 5.906 MB / 0.9418 GB, free: 4.781 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.07946, allocations: 68.72 kB / 0.9418 GB, free: 4.699 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008047/0.08027, allocations: 1.012 MB / 0.9428 GB, free: 3.68 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.08037, allocations: 49.7 kB / 0.9429 GB, free: 3.625 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.08075, allocations: 0.8098 MB / 0.9436 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004724/0.08123, allocations: 0.5383 MB / 0.9442 GB, free: 2.262 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/0.08158, allocations: 285.1 kB / 0.9444 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.207e-05/0.08167, allocations: 476.8 kB / 0.9449 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/0.08235, allocations: 499.7 kB / 0.9454 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008454/0.0832, allocations: 0.8469 MB / 0.9462 GB, free: 44 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.08476, allocations: 1.379 MB / 0.9475 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.08477, allocations: 7.938 kB / 0.9476 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.004615/0.08938, allocations: 2.794 MB / 0.9503 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.08941, allocations: 12.81 kB / 0.9503 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.08942, allocations: 8 kB / 0.9503 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004602/0.09402, allocations: 1.673 MB / 0.9519 GB, free: 9.965 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/0.09476, allocations: 311.4 kB / 0.9522 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.1089, allocations: 19.38 MB / 0.9712 GB, free: 5.305 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.11, allocations: 195.7 kB / 0.9713 GB, free: 5.113 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.1101, allocations: 63.97 kB / 0.9714 GB, free: 5.051 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004386/0.1105, allocations: 248.3 kB / 0.9716 GB, free: 4.797 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004108/0.1109, allocations: 211 kB / 0.9718 GB, free: 4.59 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004519/0.1154, allocations: 2.722 MB / 0.9745 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.1155, allocations: 16 kB / 0.9745 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/0.1155, allocations: 16 kB / 0.9745 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.1155, allocations: 7.969 kB / 0.9745 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005939/0.1214, allocations: 4.093 MB / 0.9785 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.1214, allocations: 4 kB / 0.9785 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/0.1221, allocations: 243.6 kB / 0.9788 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004018/0.1261, allocations: 1.612 MB / 0.9804 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-05/0.1262, allocations: 47.89 kB / 0.9804 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/0.1395, allocations: 19.27 MB / 0.9992 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1395, allocations: 8 kB / 0.9992 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/0.1439, allocations: 2.619 MB / 1.002 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.1444, allocations: 390.7 kB / 1.002 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.1446, allocations: 24 kB / 1.002 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008087/0.1454, allocations: 207.7 kB / 1.002 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004108/0.1458, allocations: 164.9 kB / 1.003 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.593e-05/0.1459, allocations: 51.97 kB / 1.003 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005481/0.1464, allocations: 0.6136 MB / 1.003 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.1464, allocations: 4 kB / 1.003 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00143/0.1478, allocations: 0.6562 MB / 1.004 GB, free: 2.562 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002364/0.1481, allocations: 135.1 kB / 1.004 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003861/0.1519, allocations: 3.428 MB / 1.007 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.1519, allocations: 4 kB / 1.007 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00246/0.1544, allocations: 2.796 MB / 1.01 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.1557, allocations: 0.5229 MB / 1.011 GB, free: 11.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.1597, allocations: 3.201 MB / 1.014 GB, free: 8.121 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.1603, allocations: 0.5043 MB / 1.014 GB, free: 7.582 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000767/0.1611, allocations: 313.2 kB / 1.014 GB, free: 7.27 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.1613, allocations: 100.4 kB / 1.015 GB, free: 7.172 MB / 0.9792 GB Notification: Performance of SimCode: time 1.743e-06/0.1613, allocations: 0 / 1.015 GB, free: 7.172 MB / 0.9792 GB Notification: Performance of Templates: time 0.3633/0.5246, allocations: 47.53 MB / 1.061 GB, free: 176.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.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.270137810148299]