Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.0009306/0.0009304, allocations: 91.69 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.0009367/0.0009369, 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.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.66/2.66, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003566, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8255/0.8259, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001073/0.827, allocations: 0.5108 MB / 0.9816 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001415/0.8272, allocations: 39.78 kB / 0.9817 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.8272, allocations: 8 kB / 0.9817 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.8273, allocations: 3.938 kB / 0.9817 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.428e-05/0.8274, allocations: 7.922 kB / 0.9817 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.835e-05/0.8274, allocations: 12 kB / 0.9817 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.8275, allocations: 55.84 kB / 0.9818 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.8276, allocations: 32.14 kB / 0.9818 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.8277, allocations: 15.88 kB / 0.9818 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.199e-05/0.8278, allocations: 23.86 kB / 0.9818 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.8278, allocations: 4 kB / 0.9818 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.204e-06/0.8278, allocations: 0 / 0.9818 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.8278, allocations: 7.938 kB / 0.9818 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.8279, allocations: 37.64 kB / 0.9819 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.159e-05/0.828, allocations: 54.12 kB / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.828, allocations: 0 / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.536e-06/0.828, allocations: 0 / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.828, allocations: 3.938 kB / 0.9819 GB, free: 5.445 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.0004277/0.8284, allocations: 376.5 kB / 0.9823 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.8285, allocations: 12.03 kB / 0.9823 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.8285, allocations: 34.56 kB / 0.9823 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.8286, allocations: 11.91 kB / 0.9824 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.8288, allocations: 194.9 kB / 0.9825 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.8288, allocations: 8 kB / 0.9825 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.8288, allocations: 8 kB / 0.9826 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.829, allocations: 92.66 kB / 0.9826 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.829, allocations: 4 kB / 0.9826 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.8291, allocations: 11.94 kB / 0.9827 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.8291, allocations: 3.938 kB / 0.9827 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.8292, allocations: 31.98 kB / 0.9827 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.8297, allocations: 432.6 kB / 0.9831 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.871e-05/0.8298, allocations: 41.28 kB / 0.9831 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.8298, allocations: 21.84 kB / 0.9832 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.8299, allocations: 0 / 0.9832 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.8299, allocations: 30.56 kB / 0.9832 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8299, allocations: 7.938 kB / 0.9832 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001805/0.8301, allocations: 53.55 kB / 0.9833 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.8301, allocations: 85.05 kB / 0.9833 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.8303, allocations: 168.2 kB / 0.9835 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.8303, allocations: 25.7 kB / 0.9835 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.8304, allocations: 112 kB / 0.9836 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.8304, allocations: 7.844 kB / 0.9836 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.8304, allocations: 0 / 0.9836 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.8306, allocations: 327.1 kB / 0.9839 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.8306, allocations: 0 / 0.9839 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.474e-05/0.8306, allocations: 21.72 kB / 0.984 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.712e-05/0.8306, allocations: 8 kB / 0.984 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8307, allocations: 0 / 0.984 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.701e-05/0.8307, allocations: 57.53 kB / 0.984 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.8308, allocations: 8 kB / 0.984 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.8308, allocations: 8.094 kB / 0.984 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8308, allocations: 3.984 kB / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.8309, allocations: 4 kB / 0.984 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.8309, allocations: 3.953 kB / 0.9841 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.8309, allocations: 4 kB / 0.9841 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-06/0.8309, allocations: 0 / 0.9841 GB, free: 3.012 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.397e-05/0.831, allocations: 113.8 kB / 0.9842 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.8311, allocations: 11.89 kB / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.8311, allocations: 15.88 kB / 0.9842 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.8311, allocations: 0 / 0.9842 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.8311, allocations: 0 / 0.9842 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.8311, allocations: 7.953 kB / 0.9842 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.8315, allocations: 466.7 kB / 0.9846 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8315, allocations: 4 kB / 0.9846 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.8316, allocations: 0 / 0.9846 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.8316, allocations: 7.938 kB / 0.9847 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.8316, allocations: 12 kB / 0.9847 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8316, allocations: 3.938 kB / 0.9847 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8316, allocations: 0 / 0.9847 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.811e-05/0.8317, allocations: 69.91 kB / 0.9847 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.8318, allocations: 93 kB / 0.9848 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.8318, allocations: 0 / 0.9848 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.8318, allocations: 11.98 kB / 0.9848 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.8318, allocations: 4 kB / 0.9848 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.8319, allocations: 0 / 0.9848 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001012/0.832, allocations: 120.9 kB / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.832, allocations: 0 / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001885/0.8322, allocations: 11.94 kB / 0.985 GB, free: 1.969 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.0003992/0.8326, allocations: 0.6132 MB / 0.9856 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.231e-05/0.8327, allocations: 19.94 kB / 0.9856 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8327, allocations: 0 / 0.9856 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.057e-05/0.8327, allocations: 4 kB / 0.9856 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.8329, allocations: 15.94 kB / 0.9856 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.8337, allocations: 0.5473 MB / 0.9861 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.834, allocations: 0.6927 MB / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.834, allocations: 4.438 kB / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.8341, allocations: 23.36 kB / 0.9868 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.8341, allocations: 0 / 0.9868 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.8464, allocations: 1.492 MB / 0.9883 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.8466, allocations: 209.6 kB / 0.9885 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.64, allocations: 2.5 kB / 0.9885 GB, free: 14.37 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat does not exist to compare? outputFormat=mat