Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_degF,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",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.001071/0.001071, allocations: 99.7 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.0009969/0.0009969, 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 1.426/1.426, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.7722, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.00115/0.7734, allocations: 0.563 MB / 0.9541 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001821/0.7736, allocations: 58.86 kB / 0.9542 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.7737, allocations: 1.375 kB / 0.9542 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.7737, allocations: 9.234 kB / 0.9542 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.7738, allocations: 1.406 kB / 0.9542 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.754e-05/0.7739, allocations: 16.14 kB / 0.9542 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.774, allocations: 58.12 kB / 0.9543 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.7742, allocations: 30.61 kB / 0.9543 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.7742, allocations: 37.09 kB / 0.9543 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.7743, allocations: 16.89 kB / 0.9544 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.7743, allocations: 6.5 kB / 0.9544 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.7744, allocations: 1.25 kB / 0.9544 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.7744, allocations: 11.75 kB / 0.9544 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.7744, allocations: 37.45 kB / 0.9544 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.32e-05/0.7745, allocations: 71.64 kB / 0.9545 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.7745, allocations: 0 / 0.9545 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7745, allocations: 0 / 0.9545 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.7745, allocations: 1.938 kB / 0.9545 GB, free: 7.359 MB / 0.7169 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.0004343/0.775, allocations: 382.1 kB / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.775, allocations: 9.031 kB / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.08e-05/0.7751, allocations: 44.95 kB / 0.9549 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.7752, allocations: 18.27 kB / 0.9549 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.7754, allocations: 196.3 kB / 0.9551 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.7754, allocations: 8.344 kB / 0.9551 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.7754, allocations: 9.562 kB / 0.9551 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.7756, allocations: 111.6 kB / 0.9552 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7757, allocations: 0 / 0.9552 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.7757, allocations: 5.188 kB / 0.9552 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.7757, allocations: 2.344 kB / 0.9552 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.524e-05/0.7758, allocations: 45 kB / 0.9553 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.7764, allocations: 467.8 kB / 0.9557 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.46e-05/0.7765, allocations: 52.45 kB / 0.9558 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.7765, allocations: 0 / 0.9558 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.7765, allocations: 37 kB / 0.9558 GB, free: 6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.7765, allocations: 4 kB / 0.9558 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002137/0.7767, allocations: 70.5 kB / 0.9559 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.7768, allocations: 82.11 kB / 0.956 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.7769, allocations: 166.1 kB / 0.9561 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.777, allocations: 25.7 kB / 0.9561 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.777, allocations: 113.4 kB / 0.9563 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.777, allocations: 13.31 kB / 0.9563 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.7771, allocations: 256 / 0.9563 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.7771, allocations: 325.9 kB / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.7772, allocations: 8.281 kB / 0.9566 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.583e-05/0.7772, allocations: 32.36 kB / 0.9566 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.7772, allocations: 11.59 kB / 0.9566 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7772, allocations: 0 / 0.9566 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.305e-05/0.7773, allocations: 66.69 kB / 0.9567 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7774, allocations: 5.094 kB / 0.9567 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.7774, allocations: 0.9688 kB / 0.9567 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.7774, allocations: 4.969 kB / 0.9567 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.837e-05/0.7775, allocations: 12.08 kB / 0.9567 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.7775, allocations: 4.969 kB / 0.9567 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.7775, allocations: 14.05 kB / 0.9567 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.7776, allocations: 9.672 kB / 0.9567 GB, free: 5.109 MB / 0.7169 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 (6): * Single equations (assignments): 6 * 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 7.662e-05/0.7776, allocations: 115.9 kB / 0.9569 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.7777, allocations: 8.125 kB / 0.9569 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.7777, allocations: 15.73 kB / 0.9569 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.7777, allocations: 5.75 kB / 0.9569 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7777, allocations: 0.9688 kB / 0.9569 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.7778, allocations: 0 / 0.9569 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.7781, allocations: 0.5029 MB / 0.9574 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.7781, allocations: 1.125 kB / 0.9574 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.7782, allocations: 10.11 kB / 0.9574 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.7782, allocations: 5.594 kB / 0.9574 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.7782, allocations: 1.062 kB / 0.9574 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.7782, allocations: 9.016 kB / 0.9574 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7782, allocations: 1.031 kB / 0.9574 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.7783, allocations: 141.8 kB / 0.9575 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.7784, allocations: 90.25 kB / 0.9576 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.7784, allocations: 0.9688 kB / 0.9576 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.776e-05/0.7785, allocations: 1.219 kB / 0.9576 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.7785, allocations: 2.031 kB / 0.9576 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.7785, allocations: 10.03 kB / 0.9576 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.944e-05/0.7786, allocations: 131.5 kB / 0.9578 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7786, allocations: 0 / 0.9578 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002066/0.7788, allocations: 17.03 kB / 0.9578 GB, free: 4.043 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0003862/0.7792, allocations: 0.8788 MB / 0.9586 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.7793, allocations: 27.56 kB / 0.9587 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7793, allocations: 0 / 0.9587 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.393e-05/0.7793, allocations: 23.42 kB / 0.9587 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.7795, allocations: 16.83 kB / 0.9587 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.7806, allocations: 0.7659 MB / 0.9594 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.7808, allocations: 0.7007 MB / 0.9601 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.026e-05/0.7808, allocations: 13.92 kB / 0.9601 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.7809, allocations: 27.7 kB / 0.9602 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7809, allocations: 0 / 0.9602 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.7944, allocations: 1.629 MB / 0.9618 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.7946, allocations: 186.5 kB / 0.9619 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.399, allocations: 3.938 kB / 0.9619 GB, free: 0.7305 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat does not exist to compare? outputFormat=mat