Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 183.5 kB / 326.5 MB, free: 2.727 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007115/0.0007116, allocations: 88.55 kB / 0.6803 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 15.92 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2245, allocations: 105.4 MB / 0.8968 GB, free: 68.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001601/0.2261, allocations: 1.149 MB / 0.8979 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003419/0.2265, allocations: 116.5 kB / 0.898 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.2266, allocations: 0 / 0.898 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.69e-05/0.2266, allocations: 4 kB / 0.898 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.572e-05/0.2267, allocations: 11.91 kB / 0.898 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.374e-05/0.2268, allocations: 4 kB / 0.898 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.294e-05/0.2269, allocations: 43.91 kB / 0.8981 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.227, allocations: 15.94 kB / 0.8981 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.709e-05/0.2271, allocations: 19.86 kB / 0.8981 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.2272, allocations: 15.92 kB / 0.8981 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.2272, allocations: 4 kB / 0.8981 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.2272, allocations: 0 / 0.8981 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.2272, allocations: 7.922 kB / 0.8981 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.2273, allocations: 11.94 kB / 0.8981 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.426e-05/0.2273, allocations: 40.16 kB / 0.8982 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2273, allocations: 3.984 kB / 0.8982 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2274, allocations: 0 / 0.8982 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2274, allocations: 0 / 0.8982 GB, free: 66.79 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004783/0.2278, allocations: 363.4 kB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2279, allocations: 12.03 kB / 0.8985 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.2279, allocations: 4.938 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.645e-05/0.228, allocations: 172.2 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2281, allocations: 4.375 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.2281, allocations: 4.312 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.2283, allocations: 86.95 kB / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2284, allocations: 192 / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2284, allocations: 7.875 kB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2284, allocations: 0 / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.2287, allocations: 87.92 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.229, allocations: 257 kB / 0.8991 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.2292, allocations: 74.47 kB / 0.8992 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.2293, allocations: 56.91 kB / 0.8993 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.2294, allocations: 3.938 kB / 0.8993 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.2294, allocations: 30.56 kB / 0.8993 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2294, allocations: 0 / 0.8993 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005046/0.2299, allocations: 157.5 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.2299, allocations: 55.41 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.23, allocations: 110.1 kB / 0.8996 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.23, allocations: 25.7 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.2301, allocations: 88.12 kB / 0.8997 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.2301, allocations: 11.84 kB / 0.8997 GB, free: 65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.2301, allocations: 13.72 kB / 0.8997 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.2302, allocations: 310.8 kB / 0.9 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.2303, allocations: 47.95 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.2305, allocations: 43.91 kB / 0.9001 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.2307, allocations: 93.06 kB / 0.9002 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2307, allocations: 7.938 kB / 0.9002 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002978/0.231, allocations: 121.5 kB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2311, allocations: 10.5 kB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2311, allocations: 3.938 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2311, allocations: 0 / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.2312, allocations: 23.97 kB / 0.9004 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.2312, allocations: 4.062 kB / 0.9004 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/0.2313, allocations: 23.98 kB / 0.9004 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.2313, allocations: 0 / 0.9004 GB, free: 64.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.2314, allocations: 113.7 kB / 0.9005 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.2314, allocations: 4 kB / 0.9005 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.2315, allocations: 7.906 kB / 0.9005 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.2315, allocations: 0 / 0.9005 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2315, allocations: 7.938 kB / 0.9005 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2315, allocations: 7.984 kB / 0.9005 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.2316, allocations: 169.6 kB / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2316, allocations: 0 / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-05/0.2317, allocations: 15.98 kB / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2317, allocations: 4 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2318, allocations: 4 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2318, allocations: 0 / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2318, allocations: 0 / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.2321, allocations: 227.3 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.2321, allocations: 77.11 kB / 0.901 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.2322, allocations: 3.938 kB / 0.901 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2323, allocations: 15.98 kB / 0.901 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.2323, allocations: 7.984 kB / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.2323, allocations: 0 / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.217e-05/0.2324, allocations: 95.27 kB / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2324, allocations: 0 / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002009/0.2326, allocations: 4 kB / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.2327, allocations: 99.25 kB / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.233, allocations: 87.92 kB / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2331, allocations: 4 kB / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.2332, allocations: 47.91 kB / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.2335, allocations: 15.92 kB / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.2339, allocations: 164.8 kB / 0.9015 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.234, allocations: 0.6848 MB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.2341, allocations: 11.38 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2341, allocations: 0 / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.002093/0.2362, allocations: 0.7362 MB / 0.9029 GB, free: 61.54 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)