Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009913/0.0009913, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009576/0.0009576, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.9363/0.9363, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.835/1.835, allocations: 359 MB / 0.6055 GB, free: 11.02 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_N,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_11_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.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.979e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02407/0.02409, allocations: 33.7 MB / 0.82 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.04019, allocations: 15.06 MB / 0.8347 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.04226, allocations: 214.4 kB / 0.8349 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.004333/0.0466, allocations: 3.76 MB / 0.8386 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004582/0.05118, allocations: 3.078 MB / 0.8416 GB, free: 4.879 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.05441, allocations: 2.365 MB / 0.8439 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.006006/0.06041, allocations: 9.005 MB / 0.8527 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00486/0.06527, allocations: 5.53 MB / 0.8581 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004583/0.06986, allocations: 5.727 MB / 0.8637 GB, free: 14.07 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.07293, allocations: 3.905 MB / 0.8675 GB, free: 10.16 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005692/0.0735, allocations: 0.7188 MB / 0.8682 GB, free: 9.441 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.07537, allocations: 1.63 MB / 0.8698 GB, free: 7.809 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.07701, allocations: 3.063 MB / 0.8728 GB, free: 4.738 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.07877, allocations: 2.386 MB / 0.8751 GB, free: 2.348 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004433/0.0832, allocations: 6.275 MB / 0.8813 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.0832, allocations: 0 / 0.8813 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.323e-06/0.08321, allocations: 0 / 0.8813 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.832e-05/0.08325, allocations: 0 / 0.8813 GB, free: 12.05 MB / 0.8386 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.005847/0.0891, allocations: 6.3 MB / 0.8874 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.08914, allocations: 8.031 kB / 0.8874 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004187/0.09333, allocations: 1.803 MB / 0.8892 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003433/0.09676, allocations: 3.421 MB / 0.8925 GB, free: 368 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.09693, allocations: 370.5 kB / 0.8929 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004817/0.09741, allocations: 0.5003 MB / 0.8934 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005595/0.103, allocations: 5.315 MB / 0.8986 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-05/0.1031, allocations: 27.77 kB / 0.8986 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003384/0.1034, allocations: 216 kB / 0.8988 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005767/0.104, allocations: 437.6 kB / 0.8992 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/0.1074, allocations: 1.903 MB / 0.9011 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/0.1242, allocations: 22.97 MB / 0.9235 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.1253, allocations: 0.917 MB / 0.9244 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009684/0.1263, allocations: 0.7908 MB / 0.9252 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.02e-05/0.1264, allocations: 30 kB / 0.9252 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.1264, allocations: 59.33 kB / 0.9253 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=171): time 4.017e-06/0.1264, allocations: 0 / 0.9253 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=276): time 0.01507/0.1415, allocations: 9.001 MB / 0.934 GB, free: 4.684 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.1415, allocations: 81.58 kB / 0.9341 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.1431, allocations: 1.865 MB / 0.9359 GB, free: 2.703 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.1433, allocations: 69.7 kB / 0.936 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.1443, allocations: 2.408 MB / 0.9384 GB, free: 200 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005716/0.1449, allocations: 1.007 MB / 0.9393 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005894/0.1455, allocations: 0.517 MB / 0.9399 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.1456, allocations: 476.8 kB / 0.9403 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.1466, allocations: 0.6655 MB / 0.941 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.148, allocations: 1.542 MB / 0.9425 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/0.1507, allocations: 2.435 MB / 0.9448 GB, free: 8.84 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.1507, allocations: 4 kB / 0.9448 GB, free: 8.836 MB / 0.9011 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.006607/0.1573, allocations: 4.243 MB / 0.949 GB, free: 4.523 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.1573, allocations: 16.03 kB / 0.949 GB, free: 4.508 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.1573, allocations: 16 kB / 0.949 GB, free: 4.492 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006109/0.1634, allocations: 2.576 MB / 0.9515 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/0.1643, allocations: 407.3 kB / 0.9519 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/0.1835, allocations: 20.48 MB / 0.9719 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.185, allocations: 155.8 kB / 0.9721 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.1852, allocations: 112 kB / 0.9722 GB, free: 12.01 MB / 0.9323 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.001221/0.1864, allocations: 316 kB / 0.9725 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004476/0.1869, allocations: 406.1 kB / 0.9729 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006106/0.193, allocations: 3.876 MB / 0.9767 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.193, allocations: 24 kB / 0.9767 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.232e-05/0.193, allocations: 32 kB / 0.9767 GB, free: 7.273 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.193, allocations: 15.89 kB / 0.9767 GB, free: 7.258 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.2044, allocations: 7.938 MB / 0.9845 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.2044, allocations: 4 kB / 0.9845 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.2049, allocations: 231.6 kB / 0.9847 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005448/0.2103, allocations: 2.402 MB / 0.987 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.2104, allocations: 52 kB / 0.9871 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.2288, allocations: 20.36 MB / 1.007 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.2288, allocations: 12.19 kB / 1.007 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005773/0.2345, allocations: 3.912 MB / 1.011 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009355/0.2355, allocations: 0.6502 MB / 1.011 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/0.2357, allocations: 63.88 kB / 1.012 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/0.2365, allocations: 167.8 kB / 1.012 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006006/0.2371, allocations: 273 kB / 1.012 GB, free: 2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.2373, allocations: 76 kB / 1.012 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001033/0.2383, allocations: 1.064 MB / 1.013 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.2383, allocations: 0 / 1.013 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002837/0.2411, allocations: 1.379 MB / 1.014 GB, free: 15.47 MB / 0.9792 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.0002619/0.2414, allocations: 174.9 kB / 1.015 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005318/0.2467, allocations: 4.622 MB / 1.019 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2467, allocations: 0 / 1.019 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003472/0.2502, allocations: 3.579 MB / 1.023 GB, free: 6.844 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.2523, allocations: 1.021 MB / 1.024 GB, free: 5.859 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.2629, allocations: 8.88 MB / 1.032 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.2642, allocations: 1.419 MB / 1.034 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0009534/0.2652, allocations: 474.6 kB / 1.034 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.2655, allocations: 140.5 kB / 1.034 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of SimCode: time 1.573e-06/0.2655, allocations: 0 / 1.034 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of Templates: time 0.3866/0.652, allocations: 76.65 MB / 1.109 GB, free: 280.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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: 6.6482352239545435]