Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 195.3 kB / 16.64 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.83/1.83, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 71.19 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2332, allocations: 114.5 MB / 0.7837 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.00187/0.2351, allocations: 0.6709 MB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000899/0.236, allocations: 0.8126 MB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.2361, allocations: 0 / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.2361, allocations: 3.984 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.035e-05/0.2362, allocations: 7.938 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.2363, allocations: 4 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.299e-05/0.2364, allocations: 27.92 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.478e-05/0.2365, allocations: 7.984 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.183e-05/0.2365, allocations: 7.984 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.578e-05/0.2366, allocations: 11.92 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.2366, allocations: 4 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-06/0.2366, allocations: 0 / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.2366, allocations: 4 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.2367, allocations: 15.94 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.938e-05/0.2368, allocations: 19.91 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2368, allocations: 0 / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2368, allocations: 0 / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2368, allocations: 0 / 0.7852 GB, free: 11.65 MB / 0.6075 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.0004202/0.2372, allocations: 339.7 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2373, allocations: 12.03 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.2373, allocations: 34.73 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.2373, allocations: 0.9375 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.2374, allocations: 176.3 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2375, allocations: 384 / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.2375, allocations: 384 / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.2377, allocations: 50.23 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2377, allocations: 3.938 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.2377, allocations: 0 / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2377, allocations: 0 / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.2379, allocations: 35.95 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.2382, allocations: 252.8 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.2383, allocations: 38.5 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.556e-05/0.2384, allocations: 24.84 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.2385, allocations: 7.984 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2385, allocations: 34.56 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2385, allocations: 0 / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003357/0.2388, allocations: 85.58 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2389, allocations: 51.41 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.239, allocations: 97.86 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.239, allocations: 25.7 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.239, allocations: 88.2 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.239, allocations: 7.906 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.2391, allocations: 17.7 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.2392, allocations: 314.8 kB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.2393, allocations: 11.98 kB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.2394, allocations: 15.98 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.2395, allocations: 44.88 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2395, allocations: 3.938 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000183/0.2397, allocations: 69.59 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2398, allocations: 4 kB / 0.787 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2398, allocations: 0 / 0.787 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2398, allocations: 192 / 0.787 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.2399, allocations: 12.03 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.2399, allocations: 0 / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.2399, allocations: 11.98 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.24, allocations: 3.984 kB / 0.787 GB, free: 9.574 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.042e-05/0.24, allocations: 113.8 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.2401, allocations: 4 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.2403, allocations: 76.7 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2403, allocations: 0 / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2403, allocations: 0 / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2403, allocations: 0 / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.2405, allocations: 169.5 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2405, allocations: 0 / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.2405, allocations: 11.98 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2405, allocations: 0 / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2406, allocations: 0 / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2406, allocations: 0 / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2406, allocations: 4 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.2408, allocations: 159.5 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.2408, allocations: 81.11 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2408, allocations: 0 / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.2409, allocations: 11.98 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.241, allocations: 0 / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.241, allocations: 7.969 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.241, allocations: 87.2 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.241, allocations: 3.938 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002138/0.2412, allocations: 4 kB / 0.7877 GB, free: 8.75 MB / 0.6075 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 (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.0004681/0.2417, allocations: 0.6968 MB / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.2419, allocations: 31.97 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2419, allocations: 0 / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.242, allocations: 27.91 kB / 0.7884 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.2424, allocations: 6.812 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.2428, allocations: 143 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.2431, allocations: 0.6768 MB / 0.7892 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.514e-05/0.2431, allocations: 0 / 0.7892 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.2431, allocations: 7.438 kB / 0.7893 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2431, allocations: 0 / 0.7893 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.2612, allocations: 1.256 MB / 0.7905 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/7.877, allocations: 14.8 kB / 0.7905 GB, free: 5.883 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)