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.0007262/0.0007262, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007883/0.0007883, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.541/1.541, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0004961/0.0004961, allocations: 16 kB / 0.6739 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1791, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.000695/0.1798, allocations: 394.7 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007316/0.1806, allocations: 0.8049 MB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.1806, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.1806, allocations: 4 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/0.1807, allocations: 3.938 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.1808, allocations: 11.98 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.304e-05/0.1809, allocations: 15.94 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.181, allocations: 15.98 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.869e-05/0.181, allocations: 4 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.576e-05/0.181, allocations: 11.92 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1811, allocations: 0 / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.1811, allocations: 4 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.335e-06/0.1811, allocations: 3.938 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.1811, allocations: 25.7 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.479e-05/0.1812, allocations: 15.95 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1812, allocations: 4 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1812, allocations: 0 / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.1812, allocations: 0 / 0.7887 GB, free: 10.49 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.0003601/0.1816, allocations: 343.5 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1816, allocations: 12.03 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.1816, allocations: 30.56 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.727e-05/0.1817, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.165e-05/0.1818, allocations: 182.9 kB / 0.7892 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1818, allocations: 4 kB / 0.7892 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.1818, allocations: 0 / 0.7892 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1819, allocations: 53.67 kB / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.182, allocations: 3.938 kB / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.182, allocations: 0 / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.182, allocations: 0 / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.1821, allocations: 47.97 kB / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.1824, allocations: 244.9 kB / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.1825, allocations: 54.53 kB / 0.7896 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/0.1826, allocations: 20.91 kB / 0.7896 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1826, allocations: 4 kB / 0.7897 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.1826, allocations: 30.56 kB / 0.7897 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1826, allocations: 4 kB / 0.7897 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002872/0.1829, allocations: 101.5 kB / 0.7898 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.183, allocations: 55.53 kB / 0.7898 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.361e-05/0.183, allocations: 105.8 kB / 0.7899 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.183, allocations: 25.7 kB / 0.79 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.1831, allocations: 80.14 kB / 0.79 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.1831, allocations: 7.906 kB / 0.79 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.1831, allocations: 0 / 0.79 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.1832, allocations: 318.8 kB / 0.7903 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.1833, allocations: 23.97 kB / 0.7904 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.346e-05/0.1833, allocations: 23.98 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.062e-05/0.1834, allocations: 15.98 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1834, allocations: 0 / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001626/0.1836, allocations: 81.72 kB / 0.7905 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1836, allocations: 10.81 kB / 0.7905 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1836, allocations: 0 / 0.7905 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.1836, allocations: 3.938 kB / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.1837, allocations: 16.02 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1837, allocations: 0 / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.1838, allocations: 11.94 kB / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.1838, allocations: 0 / 0.7905 GB, free: 8.387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.468e-05/0.1838, allocations: 113.8 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.1839, allocations: 4 kB / 0.7906 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.1841, allocations: 80.78 kB / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1841, allocations: 0 / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1841, allocations: 4 kB / 0.7907 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1841, allocations: 0 / 0.7907 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.1842, allocations: 165.5 kB / 0.7909 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1842, allocations: 0 / 0.7909 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.1843, allocations: 19.95 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1843, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.1843, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1843, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1843, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.1845, allocations: 183.4 kB / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.1846, allocations: 77.3 kB / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.1846, allocations: 3.984 kB / 0.7911 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.1846, allocations: 8 kB / 0.7912 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.1847, allocations: 7.969 kB / 0.7912 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1847, allocations: 0 / 0.7912 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.1847, allocations: 87.31 kB / 0.7912 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1847, allocations: 0 / 0.7912 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001955/0.1849, allocations: 4 kB / 0.7913 GB, free: 7.539 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 (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.0004251/0.1854, allocations: 0.7085 MB / 0.7919 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1855, allocations: 47.98 kB / 0.792 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1855, allocations: 4.062 kB / 0.792 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.816e-05/0.1856, allocations: 19.98 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.1859, allocations: 4 kB / 0.792 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.1862, allocations: 138.3 kB / 0.7921 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.1864, allocations: 0.681 MB / 0.7928 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.1864, allocations: 4 kB / 0.7928 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.1864, allocations: 11.38 kB / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of SimCode: time 1.472e-06/0.1864, allocations: 0 / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009229/0.1957, allocations: 1.009 MB / 0.7938 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.1958, allocations: 190.8 kB / 0.794 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/1.673, allocations: 3.938 kB / 0.794 GB, free: 4.707 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/linux/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) Environment - environmentSimulation: