Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0012/0.0012, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001386/0.001386, allocations: 165 kB / 23.82 MB, free: 0.75 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.9615/0.9615, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 1.863/1.863, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 4 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.287e-05, allocations: 3.297 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.009178/0.009211, allocations: 9.871 MB / 0.8212 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00831/0.01752, allocations: 5.996 MB / 0.827 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.01898, allocations: 87.91 kB / 0.8271 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.02004, allocations: 377.5 kB / 0.8275 GB, free: 1.391 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.02322, allocations: 1.431 MB / 0.8289 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.0245, allocations: 0.6533 MB / 0.8295 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003022/0.02753, allocations: 2.61 MB / 0.8321 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.02965, allocations: 1.188 MB / 0.8332 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.03185, allocations: 1.583 MB / 0.8348 GB, free: 9.895 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.03327, allocations: 1.005 MB / 0.8357 GB, free: 8.887 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000359/0.03363, allocations: 168 kB / 0.8359 GB, free: 8.723 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00068/0.03431, allocations: 323.6 kB / 0.8362 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004504/0.03476, allocations: 0.6543 MB / 0.8369 GB, free: 7.75 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0008203/0.03558, allocations: 0.6391 MB / 0.8375 GB, free: 7.109 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.03732, allocations: 1.53 MB / 0.839 GB, free: 5.574 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.03733, allocations: 4 kB / 0.839 GB, free: 5.57 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.704e-06/0.03733, allocations: 0 / 0.839 GB, free: 5.57 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.04e-05/0.0374, allocations: 0 / 0.839 GB, free: 5.57 MB / 0.7917 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.003281/0.04068, allocations: 2.143 MB / 0.8411 GB, free: 3.383 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.04073, allocations: 12.03 kB / 0.8411 GB, free: 3.371 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004447/0.04517, allocations: 1.751 MB / 0.8428 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.04694, allocations: 1.2 MB / 0.844 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.04699, allocations: 90.73 kB / 0.844 GB, free: 288 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.04717, allocations: 128.3 kB / 0.8442 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.04975, allocations: 1.956 MB / 0.8461 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-05/0.04979, allocations: 11.88 kB / 0.8461 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.04991, allocations: 55.98 kB / 0.8461 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003839/0.0503, allocations: 174.1 kB / 0.8463 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.05206, allocations: 0.8447 MB / 0.8471 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007891/0.05995, allocations: 8.419 MB / 0.8554 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.0616, allocations: 0.8007 MB / 0.8561 GB, free: 3.434 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.0621, allocations: 371.2 kB / 0.8565 GB, free: 3.066 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/0.06215, allocations: 16.94 kB / 0.8565 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.06219, allocations: 46.39 kB / 0.8566 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 2.916e-06/0.06219, allocations: 0 / 0.8566 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of matching and sorting (n=131): time 0.009371/0.07156, allocations: 5.001 MB / 0.8614 GB, free: 13.94 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.0716, allocations: 64.72 kB / 0.8615 GB, free: 13.87 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008894/0.07249, allocations: 0.9447 MB / 0.8624 GB, free: 12.91 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-05/0.07259, allocations: 45.7 kB / 0.8625 GB, free: 12.86 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.07301, allocations: 0.7892 MB / 0.8632 GB, free: 12.06 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.07333, allocations: 487.9 kB / 0.8637 GB, free: 11.58 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003362/0.07367, allocations: 261.1 kB / 0.864 GB, free: 11.32 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.07384, allocations: 0.5316 MB / 0.8645 GB, free: 10.78 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006196/0.07446, allocations: 411.8 kB / 0.8649 GB, free: 10.38 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000758/0.07522, allocations: 0.7727 MB / 0.8656 GB, free: 9.477 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.07662, allocations: 1.23 MB / 0.8668 GB, free: 8.113 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.07663, allocations: 0 / 0.8668 GB, free: 8.113 MB / 0.823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004203/0.08083, allocations: 2.383 MB / 0.8691 GB, free: 5.664 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.08086, allocations: 10.5 kB / 0.8692 GB, free: 5.656 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.08088, allocations: 4 kB / 0.8692 GB, free: 5.652 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003937/0.08481, allocations: 1.424 MB / 0.8706 GB, free: 4.172 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008617/0.08567, allocations: 327.3 kB / 0.8709 GB, free: 3.852 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/0.1009, allocations: 26.54 MB / 0.8968 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.1021, allocations: 203.8 kB / 0.897 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.1022, allocations: 63.95 kB / 0.897 GB, free: 7.457 MB / 0.8542 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.0004792/0.1027, allocations: 232.3 kB / 0.8973 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.103, allocations: 195 kB / 0.8974 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.1068, allocations: 2.267 MB / 0.8997 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.1068, allocations: 12 kB / 0.8997 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.275e-05/0.1068, allocations: 20 kB / 0.8997 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.1068, allocations: 11.91 kB / 0.8997 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005873/0.1127, allocations: 3.765 MB / 0.9034 GB, free: 0.7422 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1127, allocations: 4 kB / 0.9034 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006319/0.1133, allocations: 271.6 kB / 0.9036 GB, free: 484 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003614/0.1169, allocations: 1.377 MB / 0.905 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-05/0.117, allocations: 35.97 kB / 0.905 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/0.1315, allocations: 25.72 MB / 0.9301 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1315, allocations: 4.125 kB / 0.9301 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/0.1355, allocations: 2.279 MB / 0.9324 GB, free: 1.281 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/0.1361, allocations: 358.8 kB / 0.9327 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.1363, allocations: 31.92 kB / 0.9327 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007252/0.137, allocations: 191.7 kB / 0.9329 GB, free: 0.7109 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003852/0.1374, allocations: 132.6 kB / 0.933 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.911e-05/0.1375, allocations: 47.97 kB / 0.9331 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005286/0.138, allocations: 0.5841 MB / 0.9337 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.9e-07/0.138, allocations: 4 kB / 0.9337 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001527/0.1395, allocations: 0.5859 MB / 0.9342 GB, free: 15.36 MB / 0.9011 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.0002631/0.1398, allocations: 139.9 kB / 0.9344 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004106/0.1439, allocations: 3.908 MB / 0.9382 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1439, allocations: 4.062 kB / 0.9382 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002612/0.1465, allocations: 3.284 MB / 0.9414 GB, free: 7.551 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.148, allocations: 0.5197 MB / 0.9419 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.1526, allocations: 3.022 MB / 0.9449 GB, free: 3.941 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.1531, allocations: 463.1 kB / 0.9453 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0009964/0.1541, allocations: 340.4 kB / 0.9456 GB, free: 3.129 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/0.1544, allocations: 108.4 kB / 0.9457 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of SimCode: time 1.643e-06/0.1544, allocations: 0 / 0.9457 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of Templates: time 0.04822/0.2026, allocations: 43.8 MB / 0.9885 GB, free: 7.949 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 6.0529789961874485]