Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",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.000886/0.0008859, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001134/0.001134, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.645/2.645, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004837, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8118/0.8124, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001489/0.8139, allocations: 0.5615 MB / 0.9817 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001615/0.8141, allocations: 51.72 kB / 0.9817 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.8142, allocations: 4 kB / 0.9817 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.8142, allocations: 7.922 kB / 0.9818 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.8143, allocations: 3.938 kB / 0.9818 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.2e-05/0.8144, allocations: 15.98 kB / 0.9818 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.8146, allocations: 75.78 kB / 0.9818 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.8148, allocations: 37.28 kB / 0.9819 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.8149, allocations: 27.73 kB / 0.9819 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.8149, allocations: 19.86 kB / 0.9819 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.8149, allocations: 4 kB / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.815, allocations: 0 / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.815, allocations: 23.86 kB / 0.982 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.815, allocations: 33.7 kB / 0.982 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.8151, allocations: 74.08 kB / 0.9821 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.8152, allocations: 0 / 0.9821 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.406e-06/0.8152, allocations: 3.938 kB / 0.9821 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.8152, allocations: 0 / 0.9821 GB, free: 5.312 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005014/0.8157, allocations: 379.2 kB / 0.9824 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.8157, allocations: 8.031 kB / 0.9824 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.8158, allocations: 42.55 kB / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.8159, allocations: 15.81 kB / 0.9825 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.8161, allocations: 203.1 kB / 0.9827 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.8161, allocations: 8.188 kB / 0.9827 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.8162, allocations: 4 kB / 0.9827 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.8163, allocations: 112.6 kB / 0.9828 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.8164, allocations: 0 / 0.9828 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.8164, allocations: 4 kB / 0.9828 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.8164, allocations: 4 kB / 0.9828 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.8165, allocations: 35.98 kB / 0.9828 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/0.8171, allocations: 476.3 kB / 0.9833 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.203e-05/0.8172, allocations: 37.22 kB / 0.9833 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.8172, allocations: 21.72 kB / 0.9833 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.8172, allocations: 0 / 0.9833 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.8173, allocations: 42.52 kB / 0.9834 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.8173, allocations: 0 / 0.9834 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001764/0.8175, allocations: 53.53 kB / 0.9834 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.8175, allocations: 81.36 kB / 0.9835 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.8177, allocations: 184 kB / 0.9837 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.8178, allocations: 29.64 kB / 0.9837 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.8178, allocations: 119.9 kB / 0.9838 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/0.8178, allocations: 7.906 kB / 0.9838 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.8179, allocations: 0 / 0.9838 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.818, allocations: 318.8 kB / 0.9841 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.818, allocations: 8 kB / 0.9842 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.39e-05/0.8181, allocations: 17.72 kB / 0.9842 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.409e-05/0.8181, allocations: 8 kB / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8181, allocations: 4 kB / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.238e-05/0.8182, allocations: 61.53 kB / 0.9842 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.8182, allocations: 4 kB / 0.9842 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8182, allocations: 7.953 kB / 0.9843 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.8182, allocations: 0 / 0.9843 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.8183, allocations: 4 kB / 0.9843 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8183, allocations: 4.062 kB / 0.9843 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.8184, allocations: 11.84 kB / 0.9843 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.8184, allocations: 0 / 0.9843 GB, free: 2.777 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.394e-05/0.8185, allocations: 121.8 kB / 0.9844 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.8185, allocations: 11.91 kB / 0.9844 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.8185, allocations: 12.56 kB / 0.9844 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.8185, allocations: 3.953 kB / 0.9844 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.8186, allocations: 4.219 kB / 0.9844 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8186, allocations: 0 / 0.9844 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.819, allocations: 482.8 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.819, allocations: 0 / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.819, allocations: 7.953 kB / 0.9849 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.819, allocations: 0 / 0.9849 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.819, allocations: 0 / 0.9849 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.819, allocations: 3.984 kB / 0.9849 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.819, allocations: 0 / 0.9849 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.045e-05/0.8191, allocations: 89.81 kB / 0.985 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.8192, allocations: 89 kB / 0.9851 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.8192, allocations: 3.953 kB / 0.9851 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.8192, allocations: 0 / 0.9851 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.8192, allocations: 4 kB / 0.9851 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.8192, allocations: 0 / 0.9851 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001096/0.8194, allocations: 143.5 kB / 0.9852 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8194, allocations: 0 / 0.9852 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001943/0.8196, allocations: 8 kB / 0.9852 GB, free: 1.703 MB / 0.7325 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 (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.0003842/0.82, allocations: 0.617 MB / 0.9858 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.237e-05/0.82, allocations: 27.91 kB / 0.9858 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8201, allocations: 0 / 0.9858 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.017e-05/0.8201, allocations: 4 kB / 0.9858 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.8202, allocations: 8.188 kB / 0.9859 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000868/0.8211, allocations: 0.6289 MB / 0.9865 GB, free: 332 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.8214, allocations: 0.7044 MB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.066e-05/0.8215, allocations: 8.547 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.8215, allocations: 31.36 kB / 0.9872 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.8215, allocations: 0 / 0.9872 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01138/0.8329, allocations: 1.681 MB / 0.9888 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/0.8331, allocations: 195.4 kB / 0.989 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.607, allocations: 0 / 0.989 GB, free: 13.79 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat does not exist to compare? outputFormat=mat