Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001443/0.001443, 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.00106/0.00106, 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.9571/0.9571, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.874/1.874, allocations: 377.8 MB / 0.6239 GB, free: 8.551 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.942e-05, allocations: 3.406 kB / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01786/0.01789, allocations: 14.96 MB / 0.8261 GB, free: 3.047 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01142/0.02931, allocations: 10.48 MB / 0.8364 GB, free: 8.578 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.03047, allocations: 89.91 kB / 0.8365 GB, free: 8.492 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.03286, allocations: 1.728 MB / 0.8381 GB, free: 6.762 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.03688, allocations: 1.906 MB / 0.84 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.03829, allocations: 0.7598 MB / 0.8408 GB, free: 4.094 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003281/0.04158, allocations: 2.838 MB / 0.8435 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.04307, allocations: 1.199 MB / 0.8447 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.04561, allocations: 2.113 MB / 0.8468 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.04685, allocations: 0.966 MB / 0.8477 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002402/0.04709, allocations: 156 kB / 0.8479 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.04823, allocations: 0.7404 MB / 0.8486 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004443/0.04868, allocations: 0.6348 MB / 0.8492 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.000694/0.04937, allocations: 0.6429 MB / 0.8498 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.05144, allocations: 1.799 MB / 0.8516 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.05144, allocations: 0 / 0.8516 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.502e-06/0.05144, allocations: 4 kB / 0.8516 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.737e-05/0.05147, allocations: 0 / 0.8516 GB, free: 8.945 MB / 0.8073 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.002355/0.05382, allocations: 2.248 MB / 0.8538 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.05386, allocations: 8.031 kB / 0.8538 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0052/0.05907, allocations: 1.794 MB / 0.8555 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.06066, allocations: 1.234 MB / 0.8567 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/0.06071, allocations: 94.62 kB / 0.8568 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.0609, allocations: 124.3 kB / 0.857 GB, free: 3.352 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.06337, allocations: 1.951 MB / 0.8589 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.0634, allocations: 15.83 kB / 0.8589 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.06352, allocations: 51.97 kB / 0.8589 GB, free: 1.098 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003581/0.06388, allocations: 194.1 kB / 0.8591 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.06525, allocations: 0.8525 MB / 0.8599 GB, free: 44 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007393/0.07265, allocations: 8.351 MB / 0.8681 GB, free: 7.477 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.07408, allocations: 0.8337 MB / 0.8689 GB, free: 6.637 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.07458, allocations: 364.5 kB / 0.8693 GB, free: 6.281 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/0.07464, allocations: 17 kB / 0.8693 GB, free: 6.262 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.07467, allocations: 50.33 kB / 0.8693 GB, free: 6.203 MB / 0.823 GB Notification: Performance of pre-optimization done (n=89): time 2.915e-06/0.07467, allocations: 0 / 0.8693 GB, free: 6.203 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.01141/0.08609, allocations: 5.902 MB / 0.8751 GB, free: 276 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.08613, allocations: 72.72 kB / 0.8752 GB, free: 188 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009391/0.08707, allocations: 1.008 MB / 0.8761 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.08717, allocations: 53.7 kB / 0.8762 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.08758, allocations: 0.8136 MB / 0.877 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/0.08796, allocations: 0.5461 MB / 0.8775 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000366/0.08832, allocations: 285.1 kB / 0.8778 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.08843, allocations: 476.8 kB / 0.8782 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007156/0.08914, allocations: 487.7 kB / 0.8787 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008816/0.09003, allocations: 0.843 MB / 0.8795 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.0917, allocations: 1.395 MB / 0.8809 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.0917, allocations: 7.938 kB / 0.8809 GB, free: 10 MB / 0.8386 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.004776/0.09648, allocations: 2.79 MB / 0.8836 GB, free: 7.164 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.0965, allocations: 11.94 kB / 0.8836 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.09651, allocations: 8 kB / 0.8836 GB, free: 7.145 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00458/0.1011, allocations: 1.675 MB / 0.8853 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.1019, allocations: 307.4 kB / 0.8856 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.1165, allocations: 19.39 MB / 0.9045 GB, free: 0.7812 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.1178, allocations: 195.7 kB / 0.9047 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.1179, allocations: 63.97 kB / 0.9048 GB, free: 0.5273 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 (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.0005048/0.1184, allocations: 240.3 kB / 0.905 GB, free: 288 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/0.1187, allocations: 219 kB / 0.9052 GB, free: 68 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/0.1234, allocations: 2.722 MB / 0.9078 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.1234, allocations: 12 kB / 0.9079 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.182e-05/0.1234, allocations: 20 kB / 0.9079 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1234, allocations: 7.969 kB / 0.9079 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006194/0.1296, allocations: 4.093 MB / 0.9119 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.1296, allocations: 4 kB / 0.9119 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.1302, allocations: 239.6 kB / 0.9121 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004185/0.1344, allocations: 1.607 MB / 0.9137 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.259e-05/0.1345, allocations: 47.89 kB / 0.9137 GB, free: 7.121 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/0.1483, allocations: 19.27 MB / 0.9326 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1483, allocations: 4 kB / 0.9326 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/0.1526, allocations: 2.615 MB / 0.9351 GB, free: 156 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005997/0.1532, allocations: 386.7 kB / 0.9355 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.1534, allocations: 28 kB / 0.9355 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008071/0.1542, allocations: 211.6 kB / 0.9357 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000451/0.1546, allocations: 160.9 kB / 0.9359 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.688e-05/0.1547, allocations: 51.97 kB / 0.9359 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005639/0.1553, allocations: 0.6175 MB / 0.9365 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1553, allocations: 0 / 0.9365 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001588/0.1569, allocations: 0.6562 MB / 0.9372 GB, free: 14.05 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 (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.0002528/0.1571, allocations: 139.1 kB / 0.9373 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003938/0.161, allocations: 3.436 MB / 0.9406 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1611, allocations: 4.125 kB / 0.9406 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002742/0.1638, allocations: 2.788 MB / 0.9434 GB, free: 7.387 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.1652, allocations: 0.528 MB / 0.9439 GB, free: 6.875 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004827/0.17, allocations: 3.208 MB / 0.947 GB, free: 3.594 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/0.1707, allocations: 0.5043 MB / 0.9475 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0009925/0.1716, allocations: 325.2 kB / 0.9478 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.1719, allocations: 100.4 kB / 0.9479 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of SimCode: time 1.883e-06/0.1719, allocations: 0 / 0.9479 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of Templates: time 0.05303/0.2249, allocations: 47.53 MB / 0.9943 GB, free: 3.812 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.988788985880092]