Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_9_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.001144/0.001144, allocations: 99.62 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.001349/0.001349, 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.496/1.496, 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.407/2.407, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003364, allocations: 16 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8134/0.8138, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.0009035/0.8147, allocations: 0.514 MB / 0.9541 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.988e-05/0.8148, allocations: 40.94 kB / 0.9541 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.8149, allocations: 1.219 kB / 0.9541 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.8149, allocations: 4.906 kB / 0.9541 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.815, allocations: 13.48 kB / 0.9542 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.512e-05/0.8151, allocations: 6.594 kB / 0.9542 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.024e-05/0.8151, allocations: 43.64 kB / 0.9542 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.8153, allocations: 26.55 kB / 0.9542 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.923e-05/0.8153, allocations: 21.42 kB / 0.9542 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.799e-05/0.8154, allocations: 20.95 kB / 0.9543 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.8154, allocations: 1.281 kB / 0.9543 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.8154, allocations: 1.062 kB / 0.9543 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.8154, allocations: 10.33 kB / 0.9543 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.8155, allocations: 37.98 kB / 0.9543 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.632e-05/0.8155, allocations: 52.5 kB / 0.9544 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.8155, allocations: 4 kB / 0.9544 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8155, allocations: 0 / 0.9544 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.8156, allocations: 3.938 kB / 0.9544 GB, free: 7.484 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.0003115/0.8159, allocations: 363.8 kB / 0.9547 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.8159, allocations: 9.156 kB / 0.9547 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.816, allocations: 40.86 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.816, allocations: 17.02 kB / 0.9548 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.8162, allocations: 181.6 kB / 0.955 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.8162, allocations: 14.7 kB / 0.955 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.8162, allocations: 4.188 kB / 0.955 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.8163, allocations: 97.66 kB / 0.9551 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.8164, allocations: 0 / 0.9551 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.8164, allocations: 5.156 kB / 0.9551 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.8164, allocations: 2.375 kB / 0.9551 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.663e-05/0.8165, allocations: 39.28 kB / 0.9551 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.8169, allocations: 441.5 kB / 0.9555 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.053e-05/0.8169, allocations: 36.84 kB / 0.9556 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.8169, allocations: 1.188 kB / 0.9556 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.817, allocations: 35.75 kB / 0.9556 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/0.817, allocations: 0 / 0.9556 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001547/0.8171, allocations: 62.97 kB / 0.9557 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.8172, allocations: 78.48 kB / 0.9557 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.8173, allocations: 158.1 kB / 0.9559 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-06/0.8173, allocations: 27.17 kB / 0.9559 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.8173, allocations: 108.3 kB / 0.956 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/0.8174, allocations: 8.094 kB / 0.956 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.8174, allocations: 5.438 kB / 0.956 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.8174, allocations: 324.2 kB / 0.9563 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.8174, allocations: 3.031 kB / 0.9563 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.855e-05/0.8175, allocations: 19.25 kB / 0.9564 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.133e-05/0.8175, allocations: 8.219 kB / 0.9564 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8175, allocations: 3.938 kB / 0.9564 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.144e-05/0.8176, allocations: 58.5 kB / 0.9564 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.8176, allocations: 5.469 kB / 0.9564 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.8176, allocations: 1.25 kB / 0.9564 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.8176, allocations: 1.406 kB / 0.9564 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.086e-05/0.8177, allocations: 4.188 kB / 0.9564 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.8177, allocations: 4.969 kB / 0.9564 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.8177, allocations: 6.281 kB / 0.9565 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.8177, allocations: 1.188 kB / 0.9565 GB, free: 5.352 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 5.397e-05/0.8178, allocations: 122.1 kB / 0.9566 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.8178, allocations: 15.31 kB / 0.9566 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.8179, allocations: 11.91 kB / 0.9566 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.8179, allocations: 0 / 0.9566 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.8179, allocations: 1.312 kB / 0.9566 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.8179, allocations: 0 / 0.9566 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.8182, allocations: 474.7 kB / 0.9571 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8182, allocations: 0 / 0.9571 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.8182, allocations: 11.67 kB / 0.9571 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.8182, allocations: 1.156 kB / 0.9571 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.8182, allocations: 0 / 0.9571 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.8182, allocations: 1.438 kB / 0.9571 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8182, allocations: 0 / 0.9571 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.237e-05/0.8183, allocations: 92.08 kB / 0.9572 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.8183, allocations: 92.66 kB / 0.9572 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.8184, allocations: 5.281 kB / 0.9572 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/0.8184, allocations: 0 / 0.9572 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.8184, allocations: 5.359 kB / 0.9573 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.8184, allocations: 1.406 kB / 0.9573 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.8185, allocations: 123.6 kB / 0.9574 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8185, allocations: 0 / 0.9574 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001842/0.8187, allocations: 11.03 kB / 0.9574 GB, free: 4.375 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.0002386/0.8189, allocations: 0.6902 MB / 0.9581 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.801e-05/0.819, allocations: 21.95 kB / 0.9581 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.819, allocations: 160 / 0.9581 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.778e-06/0.819, allocations: 9.125 kB / 0.9581 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.8191, allocations: 10.39 kB / 0.9581 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.8198, allocations: 0.6967 MB / 0.9588 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.82, allocations: 0.691 MB / 0.9595 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.82, allocations: 12.25 kB / 0.9595 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.8201, allocations: 31.67 kB / 0.9595 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8201, allocations: 0 / 0.9595 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01081/0.8309, allocations: 1.471 MB / 0.9609 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/0.8311, allocations: 194.7 kB / 0.9611 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.461, allocations: 2.391 kB / 0.9611 GB, free: 1.398 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat does not exist to compare? outputFormat=mat