Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.0009938/0.0009938, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009683/0.0009683, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.257/1.257, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.701/1.701, allocations: 292.3 MB / 0.5486 GB, free: 13.59 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.001594/0.001594, allocations: 66.59 kB / 0.6711 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1797, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001946/0.1817, allocations: 0.91 MB / 0.7839 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.1818, allocations: 51.72 kB / 0.7839 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.1819, allocations: 0 / 0.7839 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.182, allocations: 11.92 kB / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.564e-05/0.182, allocations: 7.938 kB / 0.7839 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.171e-05/0.1821, allocations: 16 kB / 0.7839 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.531e-05/0.1822, allocations: 63.84 kB / 0.784 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1823, allocations: 41.38 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.177e-05/0.1824, allocations: 35.75 kB / 0.7841 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.785e-05/0.1824, allocations: 31.78 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1825, allocations: 8 kB / 0.7841 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.1825, allocations: 4 kB / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.1825, allocations: 23.91 kB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.1825, allocations: 35.75 kB / 0.7842 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1826, allocations: 75.92 kB / 0.7842 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1827, allocations: 3.984 kB / 0.7842 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.534e-06/0.1827, allocations: 8 kB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.1827, allocations: 0 / 0.7843 GB, free: 12.48 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003687/0.183, allocations: 379.2 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1831, allocations: 12.03 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.1831, allocations: 42.73 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.1832, allocations: 16.75 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.1833, allocations: 203 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.1833, allocations: 384 / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1834, allocations: 16.38 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1835, allocations: 99.88 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1835, allocations: 3.938 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.1835, allocations: 0 / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1836, allocations: 4 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.1836, allocations: 39.92 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.1841, allocations: 449.6 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.083e-05/0.1842, allocations: 37.28 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.1842, allocations: 13.72 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.1842, allocations: 4 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.1843, allocations: 42.59 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1843, allocations: 0 / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001589/0.1844, allocations: 61.47 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.1845, allocations: 77.11 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1846, allocations: 175.2 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1846, allocations: 25.7 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.1847, allocations: 108.2 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.1847, allocations: 11.91 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.1847, allocations: 17.7 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.1848, allocations: 314.8 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.1849, allocations: 11.98 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.479e-05/0.1849, allocations: 21.72 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.1849, allocations: 29.66 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.185, allocations: 0 / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.295e-05/0.185, allocations: 61.59 kB / 0.7864 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1851, allocations: 15 kB / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1851, allocations: 0 / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.1851, allocations: 0 / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.1852, allocations: 8 kB / 0.7865 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1852, allocations: 3.938 kB / 0.7865 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.1852, allocations: 7.906 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.1852, allocations: 4.062 kB / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.262e-05/0.1853, allocations: 117.8 kB / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.1853, allocations: 11.84 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.1854, allocations: 16.55 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1854, allocations: 0 / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.1854, allocations: 0 / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.1854, allocations: 0 / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.1857, allocations: 490.7 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1858, allocations: 0 / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.1858, allocations: 7.938 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1858, allocations: 0 / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1858, allocations: 4 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1858, allocations: 0 / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1858, allocations: 0 / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.917e-05/0.1859, allocations: 89.83 kB / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.186, allocations: 92.92 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.186, allocations: 4 kB / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.186, allocations: 0 / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.186, allocations: 4.078 kB / 0.7873 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.186, allocations: 3.984 kB / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.193e-05/0.1861, allocations: 128 kB / 0.7874 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1861, allocations: 0 / 0.7874 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001793/0.1863, allocations: 12.03 kB / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0003158/0.1866, allocations: 0.617 MB / 0.788 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.265e-05/0.1867, allocations: 16 kB / 0.788 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1867, allocations: 4.156 kB / 0.788 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.535e-05/0.1867, allocations: 11.94 kB / 0.788 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.1869, allocations: 8 kB / 0.788 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.188, allocations: 1.387 MB / 0.7894 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1882, allocations: 0.6963 MB / 0.7901 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.11e-05/0.1883, allocations: 4.438 kB / 0.7901 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.1883, allocations: 31.36 kB / 0.7901 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of SimCode: time 1.483e-06/0.1883, allocations: 4 kB / 0.7901 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2663/0.4546, allocations: 1.564 MB / 0.7916 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/0.4549, allocations: 212.9 kB / 0.7919 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.035, allocations: 0 / 0.7919 GB, free: 4.23 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)