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.001608/0.001608, allocations: 108 kB / 15.6 MB, free: 132 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.001893/0.001893, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.429/1.429, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.713/1.713, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001406/0.001406, allocations: 68.88 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2303, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002068/0.2324, allocations: 0.6703 MB / 0.7841 GB, free: 12.68 MB / 0.6075 GB
Notification: Performance of NFInst.instExpressions: time 0.0009675/0.2334, allocations: 0.8088 MB / 0.7849 GB, free: 11.86 MB / 0.6075 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.2334, allocations: 0 / 0.7849 GB, free: 11.86 MB / 0.6075 GB
Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.2335, allocations: 7.922 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB
Notification: Performance of NFTyping.typeBindings: time 6.219e-05/0.2335, allocations: 0 / 0.7849 GB, free: 11.85 MB / 0.6075 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.2337, allocations: 15.92 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB
Notification: Performance of NFFlatten.flatten: time 7.128e-05/0.2338, allocations: 19.92 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2339, allocations: 12 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.234, allocations: 15.86 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.234, allocations: 7.938 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB
Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.234, allocations: 4 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.234, allocations: 0 / 0.785 GB, free: 11.78 MB / 0.6075 GB
Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.2341, allocations: 11.98 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB
Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.2341, allocations: 3.938 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB
Notification: Performance of NFConvertDAE.convert: time 8.597e-05/0.2342, allocations: 23.95 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB
Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2342, allocations: 0 / 0.7851 GB, free: 11.74 MB / 0.6075 GB
Notification: Performance of FrontEnd: time 5.27e-06/0.2342, allocations: 4 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB
Notification: Performance of Transformations before backend: time 7.464e-06/0.2342, allocations: 3.938 kB / 0.7851 GB, free: 11.73 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.0006447/0.2349, allocations: 346.3 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB
Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.2349, allocations: 8.031 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.235, allocations: 30.75 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.235, allocations: 4.938 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.2351, allocations: 164.4 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2352, allocations: 384 / 0.7856 GB, free: 11.09 MB / 0.6075 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.2352, allocations: 384 / 0.7856 GB, free: 11.09 MB / 0.6075 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.2354, allocations: 54.23 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2354, allocations: 7.922 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.2354, allocations: 3.938 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2354, allocations: 4 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.2356, allocations: 27.97 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.2359, allocations: 252.9 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.2361, allocations: 38.5 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.844e-05/0.2362, allocations: 24.91 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2362, allocations: 0 / 0.786 GB, free: 10.62 MB / 0.6075 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2362, allocations: 38.48 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB
Notification: Performance of pre-optimization done (n=2): time 3.366e-06/0.2362, allocations: 4 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB
Notification: Performance of matching and sorting (n=2): time 0.0003461/0.2366, allocations: 77.66 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.2367, allocations: 51.41 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.2367, allocations: 97.84 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB
Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2368, allocations: 29.7 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB
Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.2368, allocations: 84.14 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB
Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.2368, allocations: 4.031 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.2369, allocations: 21.7 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB
Notification: Performance of setup shared object (initialization): time 0.000119/0.237, allocations: 314.8 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.2371, allocations: 11.98 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.52e-05/0.2372, allocations: 23.92 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.2373, allocations: 40.88 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2373, allocations: 3.938 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.2375, allocations: 61.67 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB
Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2376, allocations: 4 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2376, allocations: 3.938 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2376, allocations: 7.984 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.2377, allocations: 4 kB / 0.7868 GB, free: 9.684 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2377, allocations: 3.938 kB / 0.7868 GB, free: 9.68 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.2378, allocations: 12.02 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.2378, allocations: 0 / 0.7868 GB, free: 9.668 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.884e-05/0.2379, allocations: 118.4 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.2379, allocations: 3.938 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.2381, allocations: 64.78 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2381, allocations: 4 kB / 0.787 GB, free: 9.461 MB / 0.6075 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2381, allocations: 4.031 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2381, allocations: 3.984 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.2383, allocations: 165.5 kB / 0.7872 GB, free: 9.242 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2383, allocations: 0 / 0.7872 GB, free: 9.242 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.2384, allocations: 7.984 kB / 0.7872 GB, free: 9.234 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2384, allocations: 4 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.2384, allocations: 4 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2384, allocations: 0 / 0.7872 GB, free: 9.227 MB / 0.6075 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2384, allocations: 0 / 0.7872 GB, free: 9.227 MB / 0.6075 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.2387, allocations: 171.4 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.2388, allocations: 77.11 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.2388, allocations: 0 / 0.7874 GB, free: 8.949 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.2389, allocations: 7.984 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.2389, allocations: 8 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.2389, allocations: 0 / 0.7875 GB, free: 8.934 MB / 0.6075 GB
Notification: Performance of sorting global known variables: time 3.666e-05/0.239, allocations: 83.31 kB / 0.7875 GB, free: 8.852 MB / 0.6075 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.239, allocations: 0 / 0.7875 GB, free: 8.852 MB / 0.6075 GB
Notification: Performance of remove unused functions: time 0.000208/0.2392, allocations: 0 / 0.7875 GB, free: 8.852 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.0005818/0.2398, allocations: 0.7046 MB / 0.7882 GB, free: 8.117 MB / 0.6075 GB
Notification: Performance of simCode: created initialization part: time 0.0002052/0.24, allocations: 31.97 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB
Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.24, allocations: 4 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB
Notification: Performance of simCode: created simulation system equations: time 8.695e-05/0.2401, allocations: 19.97 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.2404, allocations: 4.328 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.2408, allocations: 139.2 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.2411, allocations: 0.6768 MB / 0.7891 GB, free: 7.18 MB / 0.6075 GB
Notification: Performance of simCode: alias equations: time 2.17e-05/0.2411, allocations: 3.938 kB / 0.7891 GB, free: 7.176 MB / 0.6075 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.2412, allocations: 15.44 kB / 0.7891 GB, free: 7.16 MB / 0.6075 GB
Notification: Performance of SimCode: time 2.4e-07/0.2412, allocations: 0 / 0.7891 GB, free: 7.16 MB / 0.6075 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.2602, allocations: 1.249 MB / 0.7903 GB, free: 5.977 MB / 0.6075 GB
Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.855, allocations: 10.92 kB / 0.7903 GB, free: 5.969 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 & python3 -m fmpy simulate  --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)