Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.001387/0.001387, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001693/0.001693, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.629/2.629, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.032/5.032, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006197/0.0006199, allocations: 12 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35/1.351, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001666/1.353, allocations: 0.5186 MB / 0.9814 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001638/1.353, allocations: 43.78 kB / 0.9814 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/1.353, allocations: 4 kB / 0.9814 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/1.353, allocations: 7.922 kB / 0.9814 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/1.353, allocations: 4 kB / 0.9814 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.284e-05/1.353, allocations: 11.98 kB / 0.9814 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/1.353, allocations: 35.91 kB / 0.9815 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/1.354, allocations: 32.16 kB / 0.9815 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/1.354, allocations: 23.86 kB / 0.9815 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/1.354, allocations: 19.86 kB / 0.9816 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/1.354, allocations: 0 / 0.9816 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/1.354, allocations: 4 kB / 0.9816 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/1.354, allocations: 3.938 kB / 0.9816 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/1.354, allocations: 37.64 kB / 0.9816 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/1.354, allocations: 54.12 kB / 0.9816 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.354, allocations: 0 / 0.9816 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.396e-06/1.354, allocations: 0 / 0.9816 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.273e-06/1.354, allocations: 3.938 kB / 0.9817 GB, free: 5.516 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006229/1.355, allocations: 375 kB / 0.982 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/1.355, allocations: 8.031 kB / 0.982 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.508e-05/1.355, allocations: 42.55 kB / 0.9821 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/1.355, allocations: 7.906 kB / 0.9821 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/1.355, allocations: 179 kB / 0.9822 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/1.355, allocations: 19.86 kB / 0.9823 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/1.355, allocations: 4 kB / 0.9823 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/1.356, allocations: 103.2 kB / 0.9824 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.356, allocations: 0 / 0.9824 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/1.356, allocations: 4 kB / 0.9824 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.356, allocations: 0 / 0.9824 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/1.356, allocations: 35.92 kB / 0.9824 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000884/1.357, allocations: 436.7 kB / 0.9828 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.185e-05/1.357, allocations: 41.3 kB / 0.9829 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/1.357, allocations: 4 kB / 0.9829 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/1.357, allocations: 30.56 kB / 0.9829 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 4.93e-06/1.357, allocations: 3.984 kB / 0.9829 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003397/1.357, allocations: 53.77 kB / 0.9829 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.357, allocations: 89.06 kB / 0.983 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/1.358, allocations: 162.6 kB / 0.9832 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/1.358, allocations: 25.7 kB / 0.9832 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/1.358, allocations: 104 kB / 0.9833 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/1.358, allocations: 11.84 kB / 0.9833 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/1.358, allocations: 0 / 0.9833 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002564/1.358, allocations: 318.8 kB / 0.9836 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.706e-05/1.358, allocations: 8.031 kB / 0.9836 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/1.358, allocations: 17.72 kB / 0.9836 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.448e-05/1.358, allocations: 19.92 kB / 0.9837 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.358, allocations: 0 / 0.9837 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000127/1.358, allocations: 49.61 kB / 0.9837 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/1.358, allocations: 5.406 kB / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.358, allocations: 0 / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/1.358, allocations: 4.062 kB / 0.9837 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/1.359, allocations: 23.92 kB / 0.9837 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/1.359, allocations: 3.953 kB / 0.9837 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/1.359, allocations: 4 kB / 0.9837 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/1.359, allocations: 0 / 0.9837 GB, free: 3.109 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 0.0001558/1.359, allocations: 113.8 kB / 0.9839 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/1.359, allocations: 7.906 kB / 0.9839 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/1.359, allocations: 11.81 kB / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.359, allocations: 3.938 kB / 0.9839 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.359, allocations: 4 kB / 0.9839 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/1.359, allocations: 7.938 kB / 0.9839 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/1.36, allocations: 470.7 kB / 0.9843 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.36, allocations: 0 / 0.9843 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/1.36, allocations: 4 kB / 0.9843 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.36, allocations: 0 / 0.9843 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/1.36, allocations: 4 kB / 0.9843 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/1.36, allocations: 3.953 kB / 0.9844 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.36, allocations: 4.062 kB / 0.9844 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/1.36, allocations: 91.55 kB / 0.9844 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/1.36, allocations: 85.02 kB / 0.9845 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/1.36, allocations: 3.953 kB / 0.9845 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.97e-05/1.36, allocations: 0 / 0.9845 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/1.36, allocations: 12.02 kB / 0.9845 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/1.36, allocations: 0 / 0.9845 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000179/1.36, allocations: 121.1 kB / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.36, allocations: 0 / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003183/1.361, allocations: 11.92 kB / 0.9847 GB, free: 2.055 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.0007806/1.362, allocations: 0.6953 MB / 0.9853 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001443/1.362, allocations: 19.98 kB / 0.9854 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.362, allocations: 0 / 0.9854 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/1.362, allocations: 7.938 kB / 0.9854 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/1.362, allocations: 7.938 kB / 0.9854 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/1.363, allocations: 0.7012 MB / 0.9861 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/1.364, allocations: 0.6926 MB / 0.9867 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.109e-05/1.364, allocations: 8.438 kB / 0.9867 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/1.364, allocations: 23.42 kB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of SimCode: time 7.91e-07/1.364, allocations: 4 kB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/1.395, allocations: 1.49 MB / 0.9882 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003368/1.396, allocations: 197.1 kB / 0.9884 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.453, allocations: 0 / 0.9884 GB, free: 14.22 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat does not exist to compare? outputFormat=mat