Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.000941/0.0009409, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009443/0.0009445, allocations: 168.7 kB / 15.95 MB, free: 200 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.386/1.386, allocations: 223.2 MB / 240 MB, free: 5.402 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.48/2.48, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 12 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7575/0.7578, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001043/0.7589, allocations: 0.52 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001277/0.7591, allocations: 41.09 kB / 0.9544 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.7591, allocations: 1.031 kB / 0.9544 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.7592, allocations: 3.938 kB / 0.9544 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.7593, allocations: 1.031 kB / 0.9544 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.313e-05/0.7593, allocations: 15.61 kB / 0.9544 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.7594, allocations: 57.22 kB / 0.9545 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.7596, allocations: 27.23 kB / 0.9545 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.243e-05/0.7596, allocations: 21.42 kB / 0.9545 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.7597, allocations: 24.17 kB / 0.9545 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.7597, allocations: 1.344 kB / 0.9546 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.7597, allocations: 1.5 kB / 0.9546 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.7597, allocations: 10.67 kB / 0.9546 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.7598, allocations: 33.95 kB / 0.9546 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.728e-05/0.7598, allocations: 52.14 kB / 0.9546 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7599, allocations: 0 / 0.9546 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7599, allocations: 0 / 0.9546 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.7599, allocations: 0 / 0.9546 GB, free: 7.488 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003529/0.7602, allocations: 370.8 kB / 0.955 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.7603, allocations: 12.77 kB / 0.955 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.7603, allocations: 36.72 kB / 0.955 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.7604, allocations: 16.86 kB / 0.9551 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.7605, allocations: 184.9 kB / 0.9552 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.7606, allocations: 11.09 kB / 0.9552 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.7606, allocations: 5.094 kB / 0.9553 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.7607, allocations: 98.39 kB / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.7608, allocations: 0 / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.7608, allocations: 5.281 kB / 0.9554 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7608, allocations: 2.438 kB / 0.9554 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.357e-05/0.7609, allocations: 38.91 kB / 0.9554 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.7614, allocations: 438 kB / 0.9558 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.083e-05/0.7615, allocations: 40.27 kB / 0.9558 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.7615, allocations: 28.03 kB / 0.9559 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.7615, allocations: 0.9062 kB / 0.9559 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.7615, allocations: 31.59 kB / 0.9559 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.7615, allocations: 0 / 0.9559 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001963/0.7617, allocations: 55.09 kB / 0.956 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.7618, allocations: 78.48 kB / 0.956 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.762, allocations: 167.3 kB / 0.9562 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.762, allocations: 25.7 kB / 0.9562 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.762, allocations: 100.3 kB / 0.9563 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.7621, allocations: 17.17 kB / 0.9563 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.7621, allocations: 0 / 0.9563 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.383e-05/0.7621, allocations: 321.1 kB / 0.9566 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.7622, allocations: 3.156 kB / 0.9566 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.7622, allocations: 23.17 kB / 0.9567 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.01e-05/0.7622, allocations: 12.47 kB / 0.9567 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7622, allocations: 0 / 0.9567 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.751e-05/0.7623, allocations: 54.77 kB / 0.9567 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.7624, allocations: 10.08 kB / 0.9567 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.7624, allocations: 3.938 kB / 0.9567 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.7624, allocations: 1.156 kB / 0.9567 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.7625, allocations: 5.094 kB / 0.9567 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.7625, allocations: 1.219 kB / 0.9567 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.7625, allocations: 9.938 kB / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.7625, allocations: 2.062 kB / 0.9568 GB, free: 5.324 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 (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.729e-05/0.7626, allocations: 116.6 kB / 0.9569 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.7627, allocations: 12.08 kB / 0.9569 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.7627, allocations: 15.02 kB / 0.9569 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7627, allocations: 0.9688 kB / 0.9569 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.7628, allocations: 4.906 kB / 0.9569 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.7628, allocations: 1.031 kB / 0.9569 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.7631, allocations: 478.1 kB / 0.9574 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7631, allocations: 0 / 0.9574 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.7631, allocations: 3.375 kB / 0.9574 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.7631, allocations: 4.969 kB / 0.9574 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.7631, allocations: 1.062 kB / 0.9574 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.7631, allocations: 0 / 0.9574 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7631, allocations: 1 kB / 0.9574 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.306e-05/0.7632, allocations: 86.19 kB / 0.9574 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.7633, allocations: 88.62 kB / 0.9575 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.7633, allocations: 5.156 kB / 0.9575 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.885e-05/0.7633, allocations: 0 / 0.9575 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.7633, allocations: 1.281 kB / 0.9575 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.7633, allocations: 1.156 kB / 0.9575 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.041e-05/0.7634, allocations: 123.6 kB / 0.9577 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7634, allocations: 5.344 kB / 0.9577 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001951/0.7636, allocations: 10.88 kB / 0.9577 GB, free: 4.363 MB / 0.7169 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.0002848/0.7639, allocations: 0.607 MB / 0.9583 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.433e-05/0.764, allocations: 22.31 kB / 0.9583 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.764, allocations: 0 / 0.9583 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.764, allocations: 4.469 kB / 0.9583 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.7642, allocations: 6.281 kB / 0.9583 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007776/0.765, allocations: 0.5502 MB / 0.9588 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.7651, allocations: 0.6922 MB / 0.9595 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.367e-05/0.7652, allocations: 12.17 kB / 0.9595 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.7652, allocations: 23.5 kB / 0.9595 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7652, allocations: 0 / 0.9595 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/0.7775, allocations: 1.491 MB / 0.961 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.7777, allocations: 193.4 kB / 0.9612 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.523, allocations: 1.469 kB / 0.9612 GB, free: 1.609 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat does not exist to compare? outputFormat=mat