Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.From_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.0009998/0.0009999, 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.001092/0.001092, allocations: 190.7 kB / 16.25 MB, free: 6.617 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.36/1.36, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.606/1.606, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.00132/0.00132, allocations: 64.58 kB / 0.6711 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1783, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001998/0.1804, allocations: 0.9209 MB / 0.7839 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001014/0.1805, allocations: 43.78 kB / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.1805, allocations: 0 / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.1806, allocations: 7.922 kB / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.212e-05/0.1807, allocations: 7.938 kB / 0.7839 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.874e-05/0.1807, allocations: 16 kB / 0.7839 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.98e-05/0.1808, allocations: 63.84 kB / 0.784 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1809, allocations: 49.3 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.181, allocations: 31.81 kB / 0.7841 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.998e-05/0.181, allocations: 27.84 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1811, allocations: 8 kB / 0.7841 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.1811, allocations: 4 kB / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.1811, allocations: 27.91 kB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.1811, allocations: 35.75 kB / 0.7842 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.985e-05/0.1812, allocations: 75.92 kB / 0.7842 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1813, allocations: 0 / 0.7842 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1813, allocations: 0 / 0.7842 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1813, allocations: 0 / 0.7842 GB, free: 12.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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004054/0.1817, allocations: 387.1 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1817, allocations: 12.03 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.1818, allocations: 46.67 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.1818, allocations: 20.75 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.182, allocations: 188.2 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.182, allocations: 4.375 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.182, allocations: 12.38 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1821, allocations: 99.88 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1822, allocations: 3.938 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/0.1822, allocations: 0 / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1822, allocations: 4 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.176e-05/0.1823, allocations: 39.98 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.1827, allocations: 453.5 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.031e-05/0.1828, allocations: 37.16 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.1828, allocations: 17.94 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.1828, allocations: 3.938 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1829, allocations: 38.56 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1829, allocations: 0 / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001485/0.183, allocations: 61.47 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.1831, allocations: 77.36 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.1832, allocations: 179.2 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1832, allocations: 25.7 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.1833, allocations: 108 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.015e-05/0.1833, allocations: 11.89 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.1834, allocations: 13.72 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1835, allocations: 322.8 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.1835, allocations: 4 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.1835, allocations: 25.7 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.1836, allocations: 33.66 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1836, allocations: 4 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.807e-05/0.1837, allocations: 57.59 kB / 0.7864 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1837, allocations: 7.938 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1837, allocations: 0 / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1837, allocations: 0 / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.838e-05/0.1838, allocations: 16 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1838, allocations: 0 / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.1838, allocations: 11.91 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.1838, allocations: 0 / 0.7865 GB, free: 9.934 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 7.534e-05/0.1839, allocations: 117.8 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.184, allocations: 11.84 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.184, allocations: 12.55 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.184, allocations: 0 / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.184, allocations: 0 / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.184, allocations: 4 kB / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.1844, allocations: 482.8 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1844, allocations: 0 / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.1845, allocations: 4 kB / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1845, allocations: 3.938 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.1845, allocations: 0 / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1845, allocations: 4 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1845, allocations: 8.047 kB / 0.7871 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.879e-05/0.1846, allocations: 85.77 kB / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.1846, allocations: 89.02 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.1847, allocations: 7.984 kB / 0.7873 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.1847, allocations: 3.938 kB / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.1847, allocations: 3.984 kB / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1847, allocations: 4.031 kB / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.125e-05/0.1848, allocations: 128 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1848, allocations: 0 / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001769/0.185, allocations: 8 kB / 0.7874 GB, free: 8.863 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.0003452/0.1853, allocations: 0.621 MB / 0.788 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.1855, allocations: 16 kB / 0.788 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1855, allocations: 0 / 0.788 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.565e-05/0.1855, allocations: 11.94 kB / 0.788 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.1857, allocations: 8 kB / 0.788 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1867, allocations: 1.391 MB / 0.7894 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.187, allocations: 0.7002 MB / 0.7901 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.187, allocations: 4.438 kB / 0.7901 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.187, allocations: 27.42 kB / 0.7901 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.187, allocations: 0 / 0.7901 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01001/0.1971, allocations: 1.577 MB / 0.7917 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.1972, allocations: 206.3 kB / 0.7919 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.802, allocations: 0 / 0.7919 GB, free: 4.227 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)