Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 288.3 MB / 303.2 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001718/0.001718, allocations: 186.5 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008854/0.0008853, allocations: 101.5 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006634/0.0006635, allocations: 14.12 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2906, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001334/0.2921, allocations: 385.5 kB / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.2936, allocations: 0.7949 MB / 0.9806 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.2937, allocations: 4 kB / 0.9806 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.2937, allocations: 3.984 kB / 0.9806 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.245e-05/0.2938, allocations: 7.922 kB / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.294, allocations: 15.88 kB / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.973e-05/0.294, allocations: 11.98 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.2942, allocations: 4 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.2943, allocations: 7.984 kB / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.2943, allocations: 15.92 kB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.2943, allocations: 0 / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.2944, allocations: 0 / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.2944, allocations: 0 / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.2944, allocations: 29.7 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.553e-05/0.2945, allocations: 11.97 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2945, allocations: 4 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2945, allocations: 0 / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.2945, allocations: 4 kB / 0.9807 GB, free: 26.37 MB / 0.6198 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.0005627/0.2951, allocations: 339.5 kB / 0.981 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.2952, allocations: 12.02 kB / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.2952, allocations: 0 / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.2954, allocations: 178.9 kB / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2954, allocations: 4 kB / 0.9812 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.2954, allocations: 4 kB / 0.9812 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.2957, allocations: 49.67 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2957, allocations: 0 / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.2957, allocations: 4 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.2957, allocations: 0 / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.2959, allocations: 43.97 kB / 0.9813 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.2963, allocations: 248.9 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.2965, allocations: 50.5 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.2965, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.2966, allocations: 30.56 kB / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2966, allocations: 0 / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003686/0.2969, allocations: 97.7 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.297, allocations: 59.34 kB / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.2971, allocations: 97.84 kB / 0.9819 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2971, allocations: 29.64 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.2971, allocations: 88.05 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.2972, allocations: 4.125 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.2972, allocations: 4 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.2973, allocations: 314.8 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.251e-05/0.2974, allocations: 23.97 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-05/0.2975, allocations: 19.98 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.1e-05/0.2975, allocations: 24.05 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2976, allocations: 4 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.2978, allocations: 81.56 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2978, allocations: 7.938 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2978, allocations: 0 / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2978, allocations: 0 / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2979, allocations: 15.92 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.298, allocations: 0 / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.298, allocations: 8 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.298, allocations: 0 / 0.9825 GB, free: 24.35 MB / 0.6198 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 7.402e-05/0.2981, allocations: 121.8 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.2981, allocations: 3.984 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.2984, allocations: 76.78 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2984, allocations: 4.031 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2984, allocations: 0 / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2984, allocations: 0 / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.2986, allocations: 161.6 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2986, allocations: 0 / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.2986, allocations: 11.98 kB / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2986, allocations: 0 / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.2987, allocations: 4 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2987, allocations: 3.938 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2987, allocations: 4 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.2989, allocations: 175.5 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.2989, allocations: 84.95 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.2989, allocations: 8.031 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.299, allocations: 8.172 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.2991, allocations: 0 / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2991, allocations: 7.984 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.448e-05/0.2991, allocations: 87.2 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2991, allocations: 0 / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002172/0.2993, allocations: 4 kB / 0.9832 GB, free: 23.5 MB / 0.6198 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.0001391/0.2995, allocations: 103.2 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.2997, allocations: 51.89 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2997, allocations: 0 / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.169e-05/0.2998, allocations: 28.05 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.3, allocations: 0.6875 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.3003, allocations: 108.9 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.3005, allocations: 0.677 MB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.3005, allocations: 0 / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.3006, allocations: 15.5 kB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.3006, allocations: 0 / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of Templates: time 0.002478/0.303, allocations: 348.1 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)