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.001319/0.001319, 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.001799/0.001799, 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.15/2.15, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.593/3.593, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006279/0.000628, allocations: 12 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212/1.212, allocations: 146.8 MB / 0.9809 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001588/1.214, allocations: 0.5187 MB / 0.9814 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001609/1.214, allocations: 43.78 kB / 0.9814 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/1.214, allocations: 0 / 0.9814 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/1.214, allocations: 7.922 kB / 0.9814 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/1.215, allocations: 8 kB / 0.9814 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.587e-05/1.215, allocations: 8 kB / 0.9814 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/1.215, allocations: 39.89 kB / 0.9815 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/1.215, allocations: 36.14 kB / 0.9815 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/1.215, allocations: 19.86 kB / 0.9815 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/1.215, allocations: 23.8 kB / 0.9816 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/1.215, allocations: 4 kB / 0.9816 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/1.215, allocations: 0 / 0.9816 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/1.215, allocations: 7.938 kB / 0.9816 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/1.215, allocations: 37.7 kB / 0.9816 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/1.215, allocations: 54.27 kB / 0.9817 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/1.215, allocations: 0 / 0.9817 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.927e-06/1.215, allocations: 0 / 0.9817 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.36e-06/1.215, allocations: 0 / 0.9817 GB, free: 5.648 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.0005704/1.216, allocations: 367 kB / 0.982 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.192e-05/1.216, allocations: 12.03 kB / 0.982 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/1.216, allocations: 42.48 kB / 0.9821 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/1.216, allocations: 7.906 kB / 0.9821 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/1.217, allocations: 194.9 kB / 0.9822 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/1.217, allocations: 8 kB / 0.9823 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/1.217, allocations: 8 kB / 0.9823 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/1.217, allocations: 100.3 kB / 0.9824 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.217, allocations: 0 / 0.9824 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/1.217, allocations: 4 kB / 0.9824 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.217, allocations: 4 kB / 0.9824 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/1.217, allocations: 31.98 kB / 0.9824 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008435/1.218, allocations: 440.6 kB / 0.9828 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.998e-05/1.218, allocations: 33.16 kB / 0.9828 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/1.218, allocations: 3.984 kB / 0.9829 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/1.218, allocations: 42.72 kB / 0.9829 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/1.218, allocations: 4 kB / 0.9829 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002689/1.218, allocations: 49.55 kB / 0.9829 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/1.219, allocations: 81.06 kB / 0.983 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/1.219, allocations: 172 kB / 0.9832 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/1.219, allocations: 25.7 kB / 0.9832 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.947e-05/1.219, allocations: 104.3 kB / 0.9833 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/1.219, allocations: 7.844 kB / 0.9833 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/1.219, allocations: 0 / 0.9833 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.219, allocations: 322.8 kB / 0.9836 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/1.219, allocations: 8 kB / 0.9836 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/1.219, allocations: 13.72 kB / 0.9836 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/1.219, allocations: 8 kB / 0.9837 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.219, allocations: 4 kB / 0.9837 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001381/1.22, allocations: 61.53 kB / 0.9837 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/1.22, allocations: 8 kB / 0.9837 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.22, allocations: 3.938 kB / 0.9837 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.22, allocations: 0 / 0.9837 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.632e-05/1.22, allocations: 12 kB / 0.9837 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.22, allocations: 11.92 kB / 0.9837 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/1.22, allocations: 0 / 0.9837 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/1.22, allocations: 4 kB / 0.9838 GB, free: 3.238 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.0001414/1.22, allocations: 121.8 kB / 0.9839 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/1.22, allocations: 11.84 kB / 0.9839 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/1.22, allocations: 3.875 kB / 0.9839 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/1.22, allocations: 4 kB / 0.9839 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.22, allocations: 0 / 0.9839 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.22, allocations: 3.953 kB / 0.9839 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006453/1.221, allocations: 478.8 kB / 0.9843 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.221, allocations: 0 / 0.9843 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/1.221, allocations: 4 kB / 0.9844 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.221, allocations: 0 / 0.9844 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/1.221, allocations: 0 / 0.9844 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/1.221, allocations: 3.953 kB / 0.9844 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.221, allocations: 0 / 0.9844 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/1.221, allocations: 95.64 kB / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/1.221, allocations: 85.09 kB / 0.9845 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/1.221, allocations: 7.953 kB / 0.9845 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.582e-05/1.221, allocations: 0 / 0.9845 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/1.221, allocations: 7.922 kB / 0.9845 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/1.221, allocations: 0 / 0.9845 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000136/1.221, allocations: 122.5 kB / 0.9847 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.1e-07/1.221, allocations: 0 / 0.9847 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003605/1.222, allocations: 11.94 kB / 0.9847 GB, free: 2.184 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.0005608/1.222, allocations: 0.6954 MB / 0.9854 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001207/1.223, allocations: 24.02 kB / 0.9854 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.223, allocations: 0 / 0.9854 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/1.223, allocations: 4 kB / 0.9854 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/1.223, allocations: 9.547 kB / 0.9854 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/1.224, allocations: 0.698 MB / 0.9861 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/1.225, allocations: 0.6965 MB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.753e-05/1.225, allocations: 8.438 kB / 0.9868 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/1.225, allocations: 27.42 kB / 0.9868 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/1.225, allocations: 0 / 0.9868 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03874/1.263, allocations: 1.47 MB / 0.9882 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/1.264, allocations: 206.4 kB / 0.9884 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/3.933, allocations: 0 / 0.9884 GB, free: 14.35 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