Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00134/0.00134, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001496/0.001496, allocations: 161.4 kB / 23.82 MB, free: 0.7578 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.9162/0.9162, allocations: 177.1 MB / 204.2 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.666/1.666, allocations: 359 MB / 0.6052 GB, free: 10.99 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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.51e-05, allocations: 2.906 kB / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.009026/0.009041, allocations: 10.6 MB / 0.7974 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008037/0.01708, allocations: 6.919 MB / 0.8042 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009105/0.01799, allocations: 87.25 kB / 0.8043 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009011/0.01889, allocations: 397.8 kB / 0.8047 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.003159/0.02205, allocations: 1.703 MB / 0.8063 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.02312, allocations: 0.655 MB / 0.807 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00203/0.02515, allocations: 2.843 MB / 0.8097 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009862/0.02614, allocations: 1.203 MB / 0.8109 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.02779, allocations: 2.094 MB / 0.813 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008375/0.02863, allocations: 0.9855 MB / 0.8139 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.02878, allocations: 164 kB / 0.8141 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/0.02918, allocations: 319.6 kB / 0.8144 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.02955, allocations: 0.6425 MB / 0.815 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004467/0.02999, allocations: 0.6429 MB / 0.8156 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.03123, allocations: 1.537 MB / 0.8171 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.03123, allocations: 0 / 0.8171 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.72e-07/0.03123, allocations: 0 / 0.8171 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.03125, allocations: 0 / 0.8171 GB, free: 12.53 MB / 0.7292 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.002077/0.03332, allocations: 2.182 MB / 0.8193 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.03336, allocations: 16.02 kB / 0.8193 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004587/0.03795, allocations: 1.77 MB / 0.821 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.03923, allocations: 1.221 MB / 0.8222 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.439e-05/0.03929, allocations: 90.69 kB / 0.8223 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.03945, allocations: 124.2 kB / 0.8224 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.04169, allocations: 1.951 MB / 0.8243 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.04172, allocations: 7.875 kB / 0.8243 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.04184, allocations: 59.98 kB / 0.8244 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003922/0.04223, allocations: 190.1 kB / 0.8246 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.0435, allocations: 0.8525 MB / 0.8254 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007584/0.05108, allocations: 8.444 MB / 0.8336 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.05245, allocations: 0.8453 MB / 0.8345 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.05294, allocations: 363.1 kB / 0.8348 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/0.05299, allocations: 13 kB / 0.8348 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.05302, allocations: 58.33 kB / 0.8349 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=89): time 2.765e-06/0.05302, allocations: 0 / 0.8349 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=153): time 0.01148/0.06451, allocations: 6.058 MB / 0.8408 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.06455, allocations: 68.72 kB / 0.8409 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007926/0.06534, allocations: 1.012 MB / 0.8419 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.06544, allocations: 49.7 kB / 0.8419 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.06583, allocations: 0.8098 MB / 0.8427 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/0.06617, allocations: 0.5422 MB / 0.8432 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003817/0.06655, allocations: 285.1 kB / 0.8435 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.06667, allocations: 480.7 kB / 0.844 GB, free: 408 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006851/0.06735, allocations: 491.7 kB / 0.8444 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008921/0.06825, allocations: 0.8547 MB / 0.8453 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.06985, allocations: 1.383 MB / 0.8466 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.06985, allocations: 3.938 kB / 0.8466 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.005183/0.07504, allocations: 2.865 MB / 0.8494 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.07506, allocations: 11.94 kB / 0.8494 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.07507, allocations: 8 kB / 0.8494 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0051/0.08017, allocations: 1.838 MB / 0.8512 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007221/0.08089, allocations: 307.4 kB / 0.8515 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.09694, allocations: 19.46 MB / 0.8705 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.09801, allocations: 199.7 kB / 0.8707 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.09812, allocations: 63.97 kB / 0.8708 GB, free: 3.633 MB / 0.7761 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.0004679/0.09858, allocations: 240.4 kB / 0.871 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.09884, allocations: 214.9 kB / 0.8712 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004885/0.1037, allocations: 2.772 MB / 0.8739 GB, free: 360 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.1037, allocations: 20 kB / 0.8739 GB, free: 340 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.435e-05/0.1038, allocations: 16 kB / 0.8739 GB, free: 324 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1038, allocations: 3.984 kB / 0.874 GB, free: 320 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006775/0.1106, allocations: 4.199 MB / 0.8781 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.1106, allocations: 4 kB / 0.8781 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.1111, allocations: 239.9 kB / 0.8783 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004702/0.1158, allocations: 1.812 MB / 0.8801 GB, free: 9.914 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-05/0.1159, allocations: 39.97 kB / 0.8801 GB, free: 9.875 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/0.1305, allocations: 19.39 MB / 0.899 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.1305, allocations: 11.98 kB / 0.899 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004372/0.1348, allocations: 2.705 MB / 0.9017 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005127/0.1353, allocations: 394.7 kB / 0.9021 GB, free: 2.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.1355, allocations: 35.88 kB / 0.9021 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007394/0.1362, allocations: 211.7 kB / 0.9023 GB, free: 2.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003928/0.1366, allocations: 152.9 kB / 0.9024 GB, free: 1.922 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.9e-05/0.1367, allocations: 55.95 kB / 0.9025 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0005333/0.1372, allocations: 0.6136 MB / 0.9031 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.1372, allocations: 0 / 0.9031 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001807/0.139, allocations: 0.6758 MB / 0.9038 GB, free: 0.5742 MB / 0.8073 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.0002947/0.1393, allocations: 135.2 kB / 0.9039 GB, free: 440 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003758/0.1431, allocations: 3.444 MB / 0.9072 GB, free: 12.84 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.1431, allocations: 4 kB / 0.9072 GB, free: 12.84 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00251/0.1456, allocations: 2.788 MB / 0.91 GB, free: 9.902 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.1471, allocations: 0.5241 MB / 0.9105 GB, free: 9.398 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/0.1513, allocations: 3.224 MB / 0.9136 GB, free: 6.094 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.1518, allocations: 0.5082 MB / 0.9141 GB, free: 5.559 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0006912/0.1525, allocations: 313.2 kB / 0.9144 GB, free: 5.246 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.1527, allocations: 100.4 kB / 0.9145 GB, free: 5.148 MB / 0.823 GB Notification: Performance of SimCode: time 1.133e-06/0.1527, allocations: 0 / 0.9145 GB, free: 5.148 MB / 0.823 GB Notification: Performance of Templates: time 0.05396/0.2067, allocations: 50.78 MB / 0.9641 GB, free: 3.109 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.695678392890841]