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.000899/0.000899, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001374/0.001374, allocations: 181 kB / 24.09 MB, free: 412 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.8973/0.8973, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.695/1.695, allocations: 359 MB / 0.6055 GB, free: 10.87 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.743e-06/1.743e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.713e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004086/0.004113, allocations: 2.606 MB / 0.7901 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.006666, allocations: 1.543 MB / 0.7916 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.006844, allocations: 7.938 kB / 0.7916 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.007352, allocations: 140.7 kB / 0.7917 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004364/0.007788, allocations: 167.6 kB / 0.7919 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006374/0.008426, allocations: 248.1 kB / 0.7921 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.008851, allocations: 336.4 kB / 0.7924 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.009125, allocations: 153 kB / 0.7926 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.009428, allocations: 187.6 kB / 0.7928 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.009724, allocations: 149.3 kB / 0.7929 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.009762, allocations: 20 kB / 0.7929 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005386/0.0103, allocations: 303.3 kB / 0.7932 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.01042, allocations: 99.72 kB / 0.7933 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.365e-05/0.01051, allocations: 86.3 kB / 0.7934 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006128/0.01112, allocations: 386.8 kB / 0.7938 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.01113, allocations: 0 / 0.7938 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01113, allocations: 0 / 0.7938 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.01113, allocations: 0 / 0.7938 GB, free: 5.832 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.0006778/0.01181, allocations: 0.5815 MB / 0.7943 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.01185, allocations: 8.656 kB / 0.7943 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.01248, allocations: 146.2 kB / 0.7945 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.01275, allocations: 211.3 kB / 0.7947 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.01277, allocations: 16.88 kB / 0.7947 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.0128, allocations: 20.36 kB / 0.7947 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.01313, allocations: 283.4 kB / 0.795 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.01314, allocations: 192 / 0.795 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.01316, allocations: 4.375 kB / 0.795 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.241e-05/0.0132, allocations: 32.42 kB / 0.795 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.01338, allocations: 97.09 kB / 0.7951 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.01477, allocations: 1.371 MB / 0.7965 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.01502, allocations: 158.1 kB / 0.7966 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.01508, allocations: 43.36 kB / 0.7966 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.594e-05/0.01514, allocations: 18.38 kB / 0.7967 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.01516, allocations: 41.39 kB / 0.7967 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.01517, allocations: 0 / 0.7967 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001199/0.01637, allocations: 482.2 kB / 0.7972 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.0164, allocations: 85.05 kB / 0.7972 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.01657, allocations: 248.5 kB / 0.7975 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.01659, allocations: 33.7 kB / 0.7975 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.01669, allocations: 223.1 kB / 0.7977 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.01676, allocations: 88.17 kB / 0.7978 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.324e-05/0.01685, allocations: 71.27 kB / 0.7979 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.01701, allocations: 0.5039 MB / 0.7984 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.616e-05/0.01708, allocations: 36.81 kB / 0.7984 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.01723, allocations: 161.2 kB / 0.7986 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.01747, allocations: 223 kB / 0.7988 GB, free: 340 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01748, allocations: 0 / 0.7988 GB, free: 340 kB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005018/0.01798, allocations: 320.1 kB / 0.7991 GB, free: 0 / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.01801, allocations: 4.047 kB / 0.7991 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01801, allocations: 4 kB / 0.7991 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004355/0.01845, allocations: 142.6 kB / 0.7992 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.01861, allocations: 51.91 kB / 0.7993 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/0.02148, allocations: 6.026 MB / 0.8052 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.02162, allocations: 8 kB / 0.8052 GB, free: 9.379 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.02164, allocations: 9.125 kB / 0.8052 GB, free: 9.371 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.02177, allocations: 177.6 kB / 0.8053 GB, free: 9.188 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.02184, allocations: 27.86 kB / 0.8054 GB, free: 9.16 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.02231, allocations: 282.8 kB / 0.8056 GB, free: 8.867 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.02232, allocations: 7.938 kB / 0.8056 GB, free: 8.859 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.02232, allocations: 4 kB / 0.8056 GB, free: 8.855 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.02233, allocations: 4 kB / 0.8057 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000935/0.02326, allocations: 0.6909 MB / 0.8063 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.02327, allocations: 3.938 kB / 0.8063 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.349e-05/0.02335, allocations: 31.92 kB / 0.8064 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003563/0.02371, allocations: 142.8 kB / 0.8065 GB, free: 7.887 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.02372, allocations: 8 kB / 0.8065 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.02668, allocations: 6.059 MB / 0.8124 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.02669, allocations: 224 / 0.8124 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00058/0.02727, allocations: 0.5906 MB / 0.813 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.02735, allocations: 43.88 kB / 0.813 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.02738, allocations: 8 kB / 0.813 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.02753, allocations: 8 kB / 0.8131 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.02759, allocations: 35.83 kB / 0.8131 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.02761, allocations: 4 kB / 0.8131 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.83e-05/0.0277, allocations: 180.1 kB / 0.8133 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.0277, allocations: 4 kB / 0.8133 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005634/0.02827, allocations: 99.88 kB / 0.8134 GB, free: 412 kB / 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002107/0.02848, allocations: 147 kB / 0.8135 GB, free: 256 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006737/0.02915, allocations: 0.6773 MB / 0.8142 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.02916, allocations: 0 / 0.8142 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.02955, allocations: 0.5894 MB / 0.8147 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.03002, allocations: 52.92 kB / 0.8148 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.03112, allocations: 0.5776 MB / 0.8154 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.03123, allocations: 112.1 kB / 0.8155 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.03133, allocations: 22.3 kB / 0.8155 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.03145, allocations: 106.2 kB / 0.8156 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of SimCode: time 1.112e-06/0.03145, allocations: 0 / 0.8156 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.006557/0.03801, allocations: 4.761 MB / 0.8202 GB, free: 9.227 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.888078131247312]