Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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.001054/0.001054, 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.001582/0.001582, allocations: 169 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.9568/0.9568, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.868/1.868, 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.ThreePhasesBalanced.Lines.Examples.ACLine,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 7.984 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/2.163e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01144/0.01146, allocations: 14.23 MB / 0.801 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009887/0.02135, allocations: 9.576 MB / 0.8103 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.02246, allocations: 91.19 kB / 0.8104 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.02495, allocations: 1.714 MB / 0.8121 GB, free: 3.18 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.02793, allocations: 1.629 MB / 0.8137 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.02917, allocations: 0.7636 MB / 0.8144 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002411/0.03158, allocations: 2.598 MB / 0.817 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.03288, allocations: 1.184 MB / 0.8181 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.03479, allocations: 1.594 MB / 0.8197 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.03633, allocations: 0.9973 MB / 0.8207 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002327/0.03656, allocations: 160 kB / 0.8208 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.03762, allocations: 0.7288 MB / 0.8215 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0006314/0.03825, allocations: 0.6582 MB / 0.8222 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0006624/0.03891, allocations: 0.6391 MB / 0.8228 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.04086, allocations: 1.802 MB / 0.8246 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.04087, allocations: 0 / 0.8246 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.633e-06/0.04087, allocations: 0 / 0.8246 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.296e-05/0.04091, allocations: 0 / 0.8246 GB, free: 6.375 MB / 0.7761 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.002799/0.04371, allocations: 2.205 MB / 0.8267 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.04375, allocations: 12.03 kB / 0.8267 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/0.04875, allocations: 1.774 MB / 0.8285 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.05018, allocations: 1.206 MB / 0.8296 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.884e-05/0.05023, allocations: 90.73 kB / 0.8297 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.0504, allocations: 124.3 kB / 0.8298 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.05256, allocations: 1.956 MB / 0.8317 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.05259, allocations: 7.938 kB / 0.8318 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.05271, allocations: 59.98 kB / 0.8318 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003145/0.05302, allocations: 178.1 kB / 0.832 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.05442, allocations: 0.8368 MB / 0.8328 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006375/0.0608, allocations: 8.33 MB / 0.8409 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.06223, allocations: 0.8025 MB / 0.8417 GB, free: 4.23 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004938/0.06272, allocations: 362.5 kB / 0.8421 GB, free: 3.875 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.06278, allocations: 17 kB / 0.8421 GB, free: 3.859 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.0628, allocations: 46.39 kB / 0.8421 GB, free: 3.801 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 2.174e-06/0.06281, allocations: 0 / 0.8421 GB, free: 3.801 MB / 0.7917 GB Notification: Performance of matching and sorting (n=131): time 0.008624/0.07143, allocations: 4.86 MB / 0.8469 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.07146, allocations: 64.72 kB / 0.8469 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007233/0.07219, allocations: 0.9524 MB / 0.8479 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/0.07227, allocations: 45.7 kB / 0.8479 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.07262, allocations: 0.7815 MB / 0.8487 GB, free: 13 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.0729, allocations: 483.9 kB / 0.8491 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/0.07322, allocations: 265.1 kB / 0.8494 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.07335, allocations: 0.5316 MB / 0.8499 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007325/0.07408, allocations: 415.8 kB / 0.8503 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007529/0.07483, allocations: 0.7688 MB / 0.851 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.07623, allocations: 1.227 MB / 0.8522 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.07623, allocations: 4 kB / 0.8523 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003657/0.07989, allocations: 2.333 MB / 0.8545 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.07991, allocations: 13.88 kB / 0.8545 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.07993, allocations: 4 kB / 0.8545 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003353/0.08328, allocations: 1.291 MB / 0.8558 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/0.08404, allocations: 327.4 kB / 0.8561 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0146/0.09864, allocations: 26.41 MB / 0.8819 GB, free: 8.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/0.09963, allocations: 187.7 kB / 0.8821 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-05/0.09972, allocations: 67.95 kB / 0.8822 GB, free: 8.73 MB / 0.8386 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004293/0.1002, allocations: 229.7 kB / 0.8824 GB, free: 8.496 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.1004, allocations: 199 kB / 0.8826 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.104, allocations: 2.208 MB / 0.8847 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.104, allocations: 15.98 kB / 0.8847 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.104, allocations: 16 kB / 0.8847 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.104, allocations: 11.91 kB / 0.8848 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/0.1092, allocations: 3.668 MB / 0.8883 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1092, allocations: 0 / 0.8883 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.1098, allocations: 267.5 kB / 0.8886 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002934/0.1127, allocations: 1.233 MB / 0.8898 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.1128, allocations: 43.95 kB / 0.8898 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/0.1258, allocations: 25.58 MB / 0.9148 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1258, allocations: 7.984 kB / 0.9148 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/0.1292, allocations: 2.201 MB / 0.917 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008412/0.13, allocations: 354.8 kB / 0.9173 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/0.1303, allocations: 32 kB / 0.9174 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.1315, allocations: 195.8 kB / 0.9175 GB, free: 2.488 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005419/0.132, allocations: 132.6 kB / 0.9177 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.1322, allocations: 51.95 kB / 0.9177 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009333/0.1331, allocations: 0.5841 MB / 0.9183 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.8e-07/0.1331, allocations: 0 / 0.9183 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002658/0.1358, allocations: 0.5664 MB / 0.9188 GB, free: 1.152 MB / 0.8698 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000365/0.1361, allocations: 139.1 kB / 0.919 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006156/0.1423, allocations: 3.908 MB / 0.9228 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.1423, allocations: 0 / 0.9228 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004297/0.1466, allocations: 3.257 MB / 0.926 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.1493, allocations: 0.5161 MB / 0.9265 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007079/0.1564, allocations: 3.02 MB / 0.9294 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007259/0.1571, allocations: 459.1 kB / 0.9299 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001692/0.1588, allocations: 348.3 kB / 0.9302 GB, free: 4.965 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.1591, allocations: 100.4 kB / 0.9303 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of SimCode: time 2.745e-06/0.1591, allocations: 0 / 0.9303 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of Templates: time 0.04674/0.2058, allocations: 40.89 MB / 0.9702 GB, free: 12.68 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.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: 5.974122726125643]