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.0009795/0.0009795, 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.001187/0.001187, 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.9332/0.9332, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.752/1.752, allocations: 359 MB / 0.6055 GB, free: 11 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.653e-06/1.653e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.172e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003821/0.003843, allocations: 3.173 MB / 0.7902 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.006003, allocations: 1.949 MB / 0.7921 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.006113, allocations: 7.938 kB / 0.7921 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006009/0.006714, allocations: 292.4 kB / 0.7924 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.007043, allocations: 204.5 kB / 0.7926 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.007444, allocations: 264.5 kB / 0.7928 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.007749, allocations: 326.8 kB / 0.7931 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.008015, allocations: 150.2 kB / 0.7933 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.008239, allocations: 187.5 kB / 0.7934 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.008459, allocations: 146.8 kB / 0.7936 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.008492, allocations: 20 kB / 0.7936 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.008885, allocations: 387 kB / 0.794 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.402e-05/0.008969, allocations: 91.72 kB / 0.7941 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.613e-05/0.009045, allocations: 83.83 kB / 0.7941 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004885/0.009534, allocations: 422.7 kB / 0.7945 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.009537, allocations: 0 / 0.7945 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.433e-06/0.009539, allocations: 0 / 0.7945 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.009546, allocations: 0 / 0.7945 GB, free: 5.156 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.0007197/0.01027, allocations: 0.5944 MB / 0.7951 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.01031, allocations: 9.219 kB / 0.7951 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006362/0.01094, allocations: 172.4 kB / 0.7953 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.01118, allocations: 216.9 kB / 0.7955 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.01119, allocations: 12.88 kB / 0.7955 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.01122, allocations: 20.36 kB / 0.7955 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.01155, allocations: 295.2 kB / 0.7958 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.01156, allocations: 192 / 0.7958 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.01158, allocations: 16.11 kB / 0.7958 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/0.01162, allocations: 25.42 kB / 0.7958 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.01181, allocations: 124.5 kB / 0.796 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.01302, allocations: 1.388 MB / 0.7973 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.01328, allocations: 182 kB / 0.7975 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.01335, allocations: 55.3 kB / 0.7975 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.421e-05/0.0134, allocations: 11.98 kB / 0.7976 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.01343, allocations: 37.39 kB / 0.7976 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.01343, allocations: 0 / 0.7976 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001171/0.01461, allocations: 0.5507 MB / 0.7981 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.01464, allocations: 77.11 kB / 0.7982 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.0148, allocations: 254.3 kB / 0.7985 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.01482, allocations: 31.33 kB / 0.7985 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01492, allocations: 227.2 kB / 0.7987 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.01497, allocations: 83.28 kB / 0.7988 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.01504, allocations: 71.3 kB / 0.7988 GB, free: 484 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.01518, allocations: 0.504 MB / 0.7993 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.987e-05/0.01526, allocations: 52.88 kB / 0.7994 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.0154, allocations: 169.2 kB / 0.7995 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.01562, allocations: 240.7 kB / 0.7998 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01563, allocations: 4 kB / 0.7998 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00042/0.01605, allocations: 342.9 kB / 0.8001 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.01606, allocations: 4 kB / 0.8001 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.01607, allocations: 4 kB / 0.8001 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/0.01644, allocations: 135 kB / 0.8002 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.01658, allocations: 61.25 kB / 0.8003 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.0186, allocations: 5.107 MB / 0.8053 GB, free: 9.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-05/0.01869, allocations: 26.95 kB / 0.8053 GB, free: 9.418 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.01871, allocations: 19.98 kB / 0.8053 GB, free: 9.398 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 9.929e-05/0.01881, allocations: 168.5 kB / 0.8055 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.01886, allocations: 31.86 kB / 0.8055 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.01927, allocations: 301.8 kB / 0.8058 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01927, allocations: 1.125 kB / 0.8058 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.01927, allocations: 4 kB / 0.8058 GB, free: 8.867 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01928, allocations: 3.984 kB / 0.8058 GB, free: 8.863 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/0.02005, allocations: 0.7456 MB / 0.8066 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.02006, allocations: 4 kB / 0.8066 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.486e-05/0.02012, allocations: 27.98 kB / 0.8066 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002731/0.02039, allocations: 142.8 kB / 0.8067 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.02041, allocations: 4 kB / 0.8067 GB, free: 7.836 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.02234, allocations: 5.1 MB / 0.8117 GB, free: 2.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.02235, allocations: 7.938 kB / 0.8117 GB, free: 2.422 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.02278, allocations: 0.6064 MB / 0.8123 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.02284, allocations: 43.84 kB / 0.8123 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.02286, allocations: 11.98 kB / 0.8124 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.02297, allocations: 15.98 kB / 0.8124 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.02301, allocations: 23.91 kB / 0.8124 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.02303, allocations: 16 kB / 0.8124 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.096e-05/0.02312, allocations: 182.9 kB / 0.8126 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02312, allocations: 0 / 0.8126 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003112/0.02343, allocations: 91.88 kB / 0.8127 GB, free: 1.371 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.0001794/0.02361, allocations: 143.1 kB / 0.8128 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005274/0.02413, allocations: 0.5542 MB / 0.8133 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02414, allocations: 0 / 0.8133 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.02442, allocations: 451 kB / 0.8138 GB, free: 152 kB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.02475, allocations: 41.84 kB / 0.8138 GB, free: 112 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009243/0.02568, allocations: 0.5742 MB / 0.8144 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.202e-05/0.02575, allocations: 104.2 kB / 0.8145 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.333e-05/0.02584, allocations: 54.23 kB / 0.8145 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.02588, allocations: 24.5 kB / 0.8146 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.02588, allocations: 0 / 0.8146 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.005942/0.03182, allocations: 4.238 MB / 0.8187 GB, free: 11.09 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: 5.03437483520247]