Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_degF,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degF,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001296/0.001296, 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.00149/0.00149, 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.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.479/2.479, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6992/0.6996, allocations: 142.3 MB / 0.9536 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degF): time 0.0009982/0.7006, allocations: 0.5602 MB / 0.9541 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001196/0.7008, allocations: 54.81 kB / 0.9542 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.7008, allocations: 2.375 kB / 0.9542 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.7008, allocations: 3.938 kB / 0.9542 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.701, allocations: 12.62 kB / 0.9542 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.156e-05/0.701, allocations: 16.3 kB / 0.9542 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.548e-05/0.7011, allocations: 43.88 kB / 0.9543 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.7013, allocations: 42.45 kB / 0.9543 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.114e-05/0.7013, allocations: 28.05 kB / 0.9543 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.7014, allocations: 20.67 kB / 0.9544 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.7014, allocations: 6.094 kB / 0.9544 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.7014, allocations: 2.75 kB / 0.9544 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.7014, allocations: 15.3 kB / 0.9544 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.7015, allocations: 36.86 kB / 0.9544 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.661e-05/0.7016, allocations: 67.59 kB / 0.9545 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.7016, allocations: 1.156 kB / 0.9545 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7016, allocations: 0 / 0.9545 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.7016, allocations: 0 / 0.9545 GB, free: 7.348 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.0003563/0.702, allocations: 379 kB / 0.9548 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.702, allocations: 13.06 kB / 0.9549 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.7021, allocations: 37.62 kB / 0.9549 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.7021, allocations: 17.98 kB / 0.9549 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.7023, allocations: 208 kB / 0.9551 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.7023, allocations: 4.094 kB / 0.9551 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.7024, allocations: 11.03 kB / 0.9551 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.7025, allocations: 108 kB / 0.9552 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.7025, allocations: 0 / 0.9552 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.7026, allocations: 13.14 kB / 0.9552 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.7026, allocations: 2.25 kB / 0.9552 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.56e-05/0.7027, allocations: 47.97 kB / 0.9553 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.7032, allocations: 464.5 kB / 0.9557 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.941e-05/0.7032, allocations: 55.42 kB / 0.9558 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.7033, allocations: 1.312 kB / 0.9558 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.7033, allocations: 31.62 kB / 0.9558 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.7033, allocations: 0.875 kB / 0.9558 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001823/0.7035, allocations: 71.05 kB / 0.9559 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.7035, allocations: 90.12 kB / 0.956 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.7037, allocations: 169.4 kB / 0.9561 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.657e-06/0.7037, allocations: 25.7 kB / 0.9562 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.7037, allocations: 112.8 kB / 0.9563 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.7038, allocations: 14.17 kB / 0.9563 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.7038, allocations: 4 kB / 0.9563 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.7038, allocations: 321.4 kB / 0.9566 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.7038, allocations: 5.344 kB / 0.9566 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.7039, allocations: 33.14 kB / 0.9566 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.7039, allocations: 13.88 kB / 0.9566 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7039, allocations: 0 / 0.9566 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.45e-05/0.704, allocations: 68.25 kB / 0.9567 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.704, allocations: 4.406 kB / 0.9567 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.704, allocations: 1.438 kB / 0.9567 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.704, allocations: 0 / 0.9567 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.294e-05/0.7041, allocations: 12.77 kB / 0.9567 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.7041, allocations: 0 / 0.9567 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.7042, allocations: 14.75 kB / 0.9567 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.7042, allocations: 5.203 kB / 0.9567 GB, free: 5.098 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 6.524e-05/0.7043, allocations: 118.1 kB / 0.9569 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.7043, allocations: 9.531 kB / 0.9569 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.7043, allocations: 11.78 kB / 0.9569 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.7043, allocations: 4.922 kB / 0.9569 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7044, allocations: 4.969 kB / 0.9569 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7044, allocations: 1.469 kB / 0.9569 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.7047, allocations: 0.5055 MB / 0.9574 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7047, allocations: 1.406 kB / 0.9574 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.7047, allocations: 5.312 kB / 0.9574 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7048, allocations: 1.562 kB / 0.9574 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.7048, allocations: 2.438 kB / 0.9574 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.7048, allocations: 7.938 kB / 0.9574 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7048, allocations: 10.09 kB / 0.9574 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.7049, allocations: 133.3 kB / 0.9575 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.7049, allocations: 93.23 kB / 0.9576 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.705, allocations: 6.578 kB / 0.9576 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.691e-05/0.705, allocations: 0 / 0.9576 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.705, allocations: 2.844 kB / 0.9576 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.705, allocations: 2.281 kB / 0.9576 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.259e-05/0.7051, allocations: 135.1 kB / 0.9578 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7051, allocations: 0 / 0.9578 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001908/0.7053, allocations: 12.09 kB / 0.9578 GB, free: 4.031 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.0002878/0.7056, allocations: 0.891 MB / 0.9586 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.702e-05/0.7057, allocations: 31.78 kB / 0.9587 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7057, allocations: 0 / 0.9587 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2e-05/0.7057, allocations: 15.98 kB / 0.9587 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.7059, allocations: 20.08 kB / 0.9587 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008321/0.7067, allocations: 0.7699 MB / 0.9595 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.7068, allocations: 0.7012 MB / 0.9601 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.41e-05/0.7069, allocations: 8.953 kB / 0.9602 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.7069, allocations: 28.86 kB / 0.9602 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.707, allocations: 0 / 0.9602 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01187/0.7188, allocations: 1.613 MB / 0.9618 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.719, allocations: 194.7 kB / 0.9619 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.387, allocations: 3.938 kB / 0.9619 GB, free: 0.7188 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degF_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degF.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.mat does not exist to compare? outputFormat=mat