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.Cos.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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 252 MB / 267.6 MB, free: 10.9 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.001016/0.001016, allocations: 171.2 kB / 327.3 MB, free: 2.195 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.656/1.656, allocations: 205.4 MB / 0.5783 GB, free: 20.26 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.0008064/0.0008064, allocations: 82.36 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003281, allocations: 15.03 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.23, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001473/0.2315, allocations: 1.089 MB / 0.9019 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000295/0.2318, allocations: 117.8 kB / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.2318, allocations: 0 / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.2319, allocations: 4 kB / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.2319, allocations: 7.922 kB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.2321, allocations: 7.984 kB / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.87e-05/0.2322, allocations: 23.92 kB / 0.9021 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.2323, allocations: 8 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.76e-05/0.2323, allocations: 0 / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.935e-05/0.2324, allocations: 15.92 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2324, allocations: 0 / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-06/0.2324, allocations: 4 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.2324, allocations: 3.938 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.2325, allocations: 25.7 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.431e-05/0.2325, allocations: 19.95 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2325, allocations: 0 / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2325, allocations: 0 / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2325, allocations: 4 kB / 0.9021 GB, free: 62.54 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003914/0.2329, allocations: 331.3 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.233, allocations: 15.97 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.233, allocations: 3.984 kB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.122e-05/0.2331, allocations: 167 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.2331, allocations: 4 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.2332, allocations: 8 kB / 0.9026 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.2333, allocations: 53.67 kB / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2334, allocations: 0 / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2334, allocations: 4 kB / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2334, allocations: 0 / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.2336, allocations: 43.97 kB / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.2339, allocations: 265 kB / 0.903 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.234, allocations: 42.56 kB / 0.903 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.2341, allocations: 24.91 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.2341, allocations: 3.984 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.2342, allocations: 34.56 kB / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2342, allocations: 0 / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003798/0.2346, allocations: 97.59 kB / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.2346, allocations: 59.39 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.319e-05/0.2347, allocations: 97.86 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.2347, allocations: 25.83 kB / 0.9034 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.2347, allocations: 88.14 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.2347, allocations: 3.906 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.2348, allocations: 4 kB / 0.9035 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.2348, allocations: 318.8 kB / 0.9038 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.2349, allocations: 19.98 kB / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/0.235, allocations: 23.98 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.864e-05/0.2351, allocations: 19.98 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2351, allocations: 0 / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001814/0.2353, allocations: 85.66 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2353, allocations: 4 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2353, allocations: 0 / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2353, allocations: 4 kB / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.2354, allocations: 11.98 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2354, allocations: 0 / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.2355, allocations: 12.02 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2355, allocations: 11.92 kB / 0.9039 GB, free: 60.48 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/0.2356, allocations: 109.8 kB / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.2356, allocations: 0 / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.2358, allocations: 92.81 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2358, allocations: 0 / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2358, allocations: 3.984 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2358, allocations: 0 / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.236, allocations: 169.5 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.236, allocations: 0 / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.236, allocations: 11.98 kB / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.236, allocations: 0 / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.2361, allocations: 4.031 kB / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2361, allocations: 0 / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2361, allocations: 0 / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.2363, allocations: 179.5 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.2363, allocations: 77.11 kB / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.2363, allocations: 0 / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.2364, allocations: 7.984 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.2365, allocations: 4 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.2365, allocations: 0 / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.446e-05/0.2365, allocations: 79.28 kB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2365, allocations: 0 / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001888/0.2367, allocations: 8 kB / 0.9047 GB, free: 59.64 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001269/0.2368, allocations: 107.2 kB / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.237, allocations: 43.97 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.237, allocations: 0 / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.069e-05/0.2371, allocations: 24.05 kB / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.2374, allocations: 20.83 kB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.2377, allocations: 126.4 kB / 0.905 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.2378, allocations: 0.6886 MB / 0.9056 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.2378, allocations: 15.5 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2378, allocations: 0 / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of Templates: time 0.001692/0.2395, allocations: 0.5276 MB / 0.9062 GB, free: 58.04 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)