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.0007423/0.0007422, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005705/0.005705, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.355/1.355, allocations: 205.4 MB / 222.5 MB, free: 5.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.606/1.606, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0006755/0.0006755, allocations: 12.78 kB / 0.6744 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2178, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.0008887/0.2187, allocations: 0.5633 MB / 0.7886 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001078/0.2188, allocations: 43.78 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.2189, allocations: 0 / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.2189, allocations: 7.922 kB / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.766e-05/0.219, allocations: 3.938 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.018e-05/0.219, allocations: 19.98 kB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.743e-05/0.2191, allocations: 71.78 kB / 0.7887 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2193, allocations: 29.39 kB / 0.7887 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.598e-05/0.2193, allocations: 19.88 kB / 0.7887 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.019e-05/0.2194, allocations: 31.78 kB / 0.7888 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.2194, allocations: 4 kB / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.842e-06/0.2194, allocations: 0 / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.2194, allocations: 11.92 kB / 0.7888 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.2195, allocations: 53.45 kB / 0.7888 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.516e-05/0.2196, allocations: 79.89 kB / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2196, allocations: 0 / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2196, allocations: 0 / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2196, allocations: 0 / 0.7889 GB, free: 10.52 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.0003268/0.2199, allocations: 375.1 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2199, allocations: 12.03 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.22, allocations: 38.73 kB / 0.7893 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.22, allocations: 12.84 kB / 0.7893 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.2202, allocations: 196.2 kB / 0.7895 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.2202, allocations: 4.281 kB / 0.7895 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.2202, allocations: 12.38 kB / 0.7895 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.2204, allocations: 91.88 kB / 0.7896 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2204, allocations: 11.88 kB / 0.7896 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.2204, allocations: 4 kB / 0.7896 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2204, allocations: 4 kB / 0.7896 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.211e-05/0.2205, allocations: 39.92 kB / 0.7897 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.2209, allocations: 440.6 kB / 0.7901 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.555e-05/0.221, allocations: 50.33 kB / 0.7901 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.221, allocations: 17.75 kB / 0.7902 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.2211, allocations: 7.938 kB / 0.7902 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.2211, allocations: 30.56 kB / 0.7902 GB, free: 9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2211, allocations: 0 / 0.7902 GB, free: 9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001519/0.2212, allocations: 69.47 kB / 0.7903 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.2213, allocations: 77.11 kB / 0.7903 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2214, allocations: 167.3 kB / 0.7905 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.2215, allocations: 25.7 kB / 0.7905 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.2215, allocations: 108 kB / 0.7906 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.2216, allocations: 11.91 kB / 0.7906 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.2216, allocations: 9.719 kB / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.2217, allocations: 327.1 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.2217, allocations: 8 kB / 0.791 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/0.2217, allocations: 17.7 kB / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.131e-05/0.2218, allocations: 29.66 kB / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2218, allocations: 0 / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.362e-05/0.2219, allocations: 69.53 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2219, allocations: 12 kB / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2219, allocations: 4 kB / 0.7911 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.794e-06/0.2219, allocations: 0 / 0.7911 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.468e-05/0.222, allocations: 4 kB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.222, allocations: 0 / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.222, allocations: 7.906 kB / 0.7911 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.222, allocations: 0 / 0.7911 GB, free: 7.992 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.583e-05/0.2221, allocations: 117.8 kB / 0.7912 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.2222, allocations: 11.84 kB / 0.7912 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.2222, allocations: 20.55 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2222, allocations: 0 / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2222, allocations: 4 kB / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.2222, allocations: 0 / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.2226, allocations: 482.7 kB / 0.7917 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2226, allocations: 0 / 0.7917 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.2226, allocations: 4 kB / 0.7917 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2226, allocations: 64 / 0.7917 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.2226, allocations: 7.938 kB / 0.7917 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2226, allocations: 0 / 0.7917 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2226, allocations: 3.938 kB / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.502e-05/0.2227, allocations: 93.67 kB / 0.7918 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.2228, allocations: 89.02 kB / 0.7919 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2228, allocations: 0 / 0.7919 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.33e-05/0.2228, allocations: 4.031 kB / 0.7919 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.2228, allocations: 0 / 0.7919 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2229, allocations: 7.984 kB / 0.7919 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.331e-05/0.2229, allocations: 120 kB / 0.792 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2229, allocations: 0 / 0.792 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001797/0.2231, allocations: 12 kB / 0.792 GB, free: 6.922 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.0003614/0.2235, allocations: 0.6209 MB / 0.7926 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.319e-05/0.2236, allocations: 16 kB / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2236, allocations: 0 / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.2236, allocations: 11.94 kB / 0.7927 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.2237, allocations: 4 kB / 0.7927 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2248, allocations: 1.393 MB / 0.794 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.225, allocations: 0.7004 MB / 0.7947 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.091e-05/0.2251, allocations: 4.438 kB / 0.7947 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.2251, allocations: 27.42 kB / 0.7948 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2251, allocations: 0 / 0.7948 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01004/0.2352, allocations: 1.474 MB / 0.7962 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.2354, allocations: 201.4 kB / 0.7964 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/1.702, allocations: 0 / 0.7964 GB, free: 2.402 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)