Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001038/0.001038, allocations: 91.61 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.001109/0.001108, 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.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.536/2.536, allocations: 409.4 MB / 0.684 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004029, allocations: 8 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8109/0.8113, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001158/0.8125, allocations: 0.5614 MB / 0.9817 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001413/0.8127, allocations: 47.78 kB / 0.9817 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/0.8128, allocations: 0 / 0.9817 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.8128, allocations: 15.8 kB / 0.9817 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.8129, allocations: 7.938 kB / 0.9818 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.905e-05/0.813, allocations: 19.98 kB / 0.9818 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.8131, allocations: 67.84 kB / 0.9818 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.8133, allocations: 41.27 kB / 0.9819 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.754e-05/0.8133, allocations: 27.75 kB / 0.9819 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.8134, allocations: 27.78 kB / 0.9819 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.8134, allocations: 0 / 0.9819 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.8134, allocations: 8 kB / 0.9819 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.8135, allocations: 7.938 kB / 0.9819 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.8135, allocations: 41.64 kB / 0.982 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.8136, allocations: 70.08 kB / 0.982 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.8136, allocations: 0 / 0.982 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8136, allocations: 0 / 0.982 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.8136, allocations: 0 / 0.982 GB, free: 5.301 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.0005182/0.8142, allocations: 379.2 kB / 0.9824 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.8142, allocations: 12.03 kB / 0.9824 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.775e-05/0.8143, allocations: 46.56 kB / 0.9825 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.8143, allocations: 15.81 kB / 0.9825 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.8146, allocations: 196.5 kB / 0.9827 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.8146, allocations: 8.188 kB / 0.9827 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.8146, allocations: 8 kB / 0.9827 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.8148, allocations: 108.6 kB / 0.9828 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.8149, allocations: 0 / 0.9828 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.8149, allocations: 0 / 0.9828 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.8149, allocations: 11.98 kB / 0.9828 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.815, allocations: 43.92 kB / 0.9828 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.8156, allocations: 472.3 kB / 0.9833 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.337e-05/0.8157, allocations: 41.09 kB / 0.9833 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.8157, allocations: 21.84 kB / 0.9834 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.8157, allocations: 0 / 0.9834 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.8157, allocations: 34.52 kB / 0.9834 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.8158, allocations: 0 / 0.9834 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001853/0.8159, allocations: 57.53 kB / 0.9834 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.816, allocations: 81.36 kB / 0.9835 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.8162, allocations: 184 kB / 0.9837 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.8162, allocations: 25.7 kB / 0.9837 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.8163, allocations: 115.9 kB / 0.9838 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.8163, allocations: 3.906 kB / 0.9838 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.8163, allocations: 4 kB / 0.9838 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.8164, allocations: 322.8 kB / 0.9841 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.8165, allocations: 4 kB / 0.9841 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.694e-05/0.8165, allocations: 29.59 kB / 0.9842 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.8165, allocations: 8 kB / 0.9842 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8165, allocations: 0 / 0.9842 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.72e-05/0.8166, allocations: 53.59 kB / 0.9842 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.8166, allocations: 8 kB / 0.9842 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.8166, allocations: 3.953 kB / 0.9842 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.8167, allocations: 0 / 0.9842 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.8167, allocations: 16 kB / 0.9843 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.8167, allocations: 0 / 0.9843 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.8168, allocations: 7.844 kB / 0.9843 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/0.8168, allocations: 7.984 kB / 0.9843 GB, free: 2.754 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 8.439e-05/0.8169, allocations: 113.8 kB / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.8169, allocations: 7.906 kB / 0.9844 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.817, allocations: 12.56 kB / 0.9844 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.817, allocations: 3.953 kB / 0.9844 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.817, allocations: 224 / 0.9844 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.817, allocations: 8 kB / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.8174, allocations: 478.8 kB / 0.9849 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8174, allocations: 0 / 0.9849 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.8174, allocations: 7.953 kB / 0.9849 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.8174, allocations: 0 / 0.9849 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.8174, allocations: 3.984 kB / 0.9849 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8174, allocations: 4 kB / 0.9849 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.8175, allocations: 0 / 0.9849 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.904e-05/0.8175, allocations: 81.81 kB / 0.985 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.8176, allocations: 93 kB / 0.9851 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.8176, allocations: 3.953 kB / 0.9851 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.158e-05/0.8177, allocations: 8 kB / 0.9851 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.8177, allocations: 0 / 0.9851 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.8177, allocations: 32 / 0.9851 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001006/0.8178, allocations: 143.5 kB / 0.9852 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8178, allocations: 0 / 0.9852 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001838/0.818, allocations: 8 kB / 0.9852 GB, free: 1.688 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.0003924/0.8184, allocations: 0.6248 MB / 0.9858 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.869e-05/0.8185, allocations: 12 kB / 0.9858 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8185, allocations: 0 / 0.9858 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-05/0.8185, allocations: 7.938 kB / 0.9858 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.8187, allocations: 12.98 kB / 0.9859 GB, free: 1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009175/0.8196, allocations: 0.6296 MB / 0.9865 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.8199, allocations: 0.7005 MB / 0.9871 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.034e-05/0.82, allocations: 12.55 kB / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.82, allocations: 35.36 kB / 0.9872 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.82, allocations: 0 / 0.9872 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/0.832, allocations: 1.686 MB / 0.9888 GB, free: 14 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.8322, allocations: 203.7 kB / 0.989 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.619, allocations: 0 / 0.989 GB, free: 13.76 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat does not exist to compare? outputFormat=mat