Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.0009493/0.0009493, allocations: 91.58 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.00091/0.00091, 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.9126/0.9126, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.644/1.644, allocations: 359 MB / 0.6052 GB, free: 11.03 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.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.067e-05, allocations: 9.062 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.007544/0.007575, allocations: 2.615 MB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005722/0.0133, allocations: 1.559 MB / 0.7912 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.01349, allocations: 9.531 kB / 0.7912 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007244/0.01422, allocations: 139.3 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000518/0.01474, allocations: 170.5 kB / 0.7915 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.01865, allocations: 247 kB / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005545/0.0192, allocations: 330.8 kB / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.01957, allocations: 157 kB / 0.7922 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.01996, allocations: 188.2 kB / 0.7923 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.02039, allocations: 144.1 kB / 0.7925 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.02045, allocations: 20 kB / 0.7925 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003739/0.02418, allocations: 312.9 kB / 0.7928 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.02432, allocations: 95.72 kB / 0.7929 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.02444, allocations: 83.83 kB / 0.793 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.02518, allocations: 382.8 kB / 0.7933 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.02519, allocations: 0.75 kB / 0.7933 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.024e-06/0.02519, allocations: 0 / 0.7933 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.0252, allocations: 1.188 kB / 0.7933 GB, free: 6.117 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009036/0.0261, allocations: 0.5815 MB / 0.7939 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.02615, allocations: 13.53 kB / 0.7939 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.02803, allocations: 164.4 kB / 0.7941 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.02845, allocations: 220.1 kB / 0.7943 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.02847, allocations: 12.88 kB / 0.7943 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.02851, allocations: 20.38 kB / 0.7943 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.029, allocations: 298.7 kB / 0.7946 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.02902, allocations: 192 / 0.7946 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.02905, allocations: 10.34 kB / 0.7946 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-05/0.02911, allocations: 28.42 kB / 0.7946 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.02942, allocations: 118.8 kB / 0.7947 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.03123, allocations: 1.398 MB / 0.7961 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.0316, allocations: 187.2 kB / 0.7963 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.03171, allocations: 51.34 kB / 0.7963 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.349e-05/0.03178, allocations: 9.156 kB / 0.7963 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.03181, allocations: 41.38 kB / 0.7964 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.485e-06/0.03182, allocations: 0.5938 kB / 0.7964 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001704/0.03352, allocations: 0.5545 MB / 0.7969 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.03357, allocations: 81.11 kB / 0.797 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.03378, allocations: 260.1 kB / 0.7973 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.03381, allocations: 33.64 kB / 0.7973 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.03393, allocations: 217.4 kB / 0.7975 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.03401, allocations: 87.27 kB / 0.7976 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.03412, allocations: 71.31 kB / 0.7976 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.03428, allocations: 0.5039 MB / 0.7981 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.03441, allocations: 47.97 kB / 0.7982 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.03462, allocations: 169.2 kB / 0.7983 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.03494, allocations: 247.1 kB / 0.7986 GB, free: 384 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.03494, allocations: 0 / 0.7986 GB, free: 384 kB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006411/0.03558, allocations: 335.5 kB / 0.7989 GB, free: 28 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.03561, allocations: 10.8 kB / 0.7989 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.03562, allocations: 4 kB / 0.7989 GB, free: 16 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/0.03621, allocations: 140.3 kB / 0.799 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.03643, allocations: 55.91 kB / 0.7991 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.03955, allocations: 5.116 MB / 0.8041 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.03973, allocations: 19.92 kB / 0.8041 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.03976, allocations: 16 kB / 0.8041 GB, free: 10.36 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.03992, allocations: 174.5 kB / 0.8043 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.961e-05/0.04, allocations: 31.86 kB / 0.8043 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007689/0.04076, allocations: 300.8 kB / 0.8046 GB, free: 9.828 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.04077, allocations: 4 kB / 0.8046 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.04077, allocations: 0 / 0.8046 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.04078, allocations: 4 kB / 0.8046 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.04197, allocations: 0.7354 MB / 0.8053 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.04198, allocations: 3.984 kB / 0.8053 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.04209, allocations: 31.98 kB / 0.8054 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005109/0.0426, allocations: 134.7 kB / 0.8055 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.04262, allocations: 8 kB / 0.8055 GB, free: 8.801 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/0.04537, allocations: 5.108 MB / 0.8105 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.04537, allocations: 3.938 kB / 0.8105 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006698/0.04604, allocations: 0.5926 MB / 0.8111 GB, free: 2.719 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.04615, allocations: 52.02 kB / 0.8111 GB, free: 2.668 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.04618, allocations: 11.98 kB / 0.8111 GB, free: 2.656 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.04637, allocations: 15.98 kB / 0.8112 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.04643, allocations: 23.97 kB / 0.8112 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.04645, allocations: 15.94 kB / 0.8112 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001321/0.04658, allocations: 176.1 kB / 0.8114 GB, free: 2.43 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.01e-07/0.04658, allocations: 0 / 0.8114 GB, free: 2.43 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008007/0.04738, allocations: 95.92 kB / 0.8115 GB, free: 2.336 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002477/0.04763, allocations: 147 kB / 0.8116 GB, free: 2.184 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008131/0.04844, allocations: 0.5508 MB / 0.8121 GB, free: 1.594 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.04845, allocations: 4.625 kB / 0.8121 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.04883, allocations: 453.2 kB / 0.8126 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005186/0.04935, allocations: 42.03 kB / 0.8126 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.05071, allocations: 0.5654 MB / 0.8132 GB, free: 448 kB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.05082, allocations: 116.2 kB / 0.8133 GB, free: 312 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.05097, allocations: 46.25 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.05103, allocations: 24.48 kB / 0.8133 GB, free: 244 kB / 0.7605 GB Notification: Performance of SimCode: time 1.563e-06/0.05103, allocations: 0 / 0.8133 GB, free: 244 kB / 0.7605 GB Notification: Performance of Templates: time 0.009101/0.06013, allocations: 4.42 MB / 0.8177 GB, free: 11.88 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.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: 4.775393184740096]