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.0007352/0.0007351, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0007741/0.0007741, allocations: 168.7 kB / 15.95 MB, free: 204 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.441/1.441, allocations: 223.3 MB / 240 MB, free: 5.414 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.393/2.393, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7973/0.7976, allocations: 142.3 MB / 0.9539 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001139/0.7988, allocations: 0.5119 MB / 0.9544 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.799, allocations: 44.52 kB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.799, allocations: 2.188 kB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.7991, allocations: 3.938 kB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.389e-05/0.7992, allocations: 1.156 kB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.446e-05/0.7992, allocations: 18.77 kB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.7994, allocations: 57.91 kB / 0.9545 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.7995, allocations: 33.97 kB / 0.9545 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/0.7996, allocations: 18.17 kB / 0.9545 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.7997, allocations: 19.89 kB / 0.9545 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.7997, allocations: 1.875 kB / 0.9545 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.7997, allocations: 2 kB / 0.9545 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.7997, allocations: 14.56 kB / 0.9546 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.7998, allocations: 32.7 kB / 0.9546 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.7999, allocations: 51.97 kB / 0.9546 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.7999, allocations: 1.312 kB / 0.9546 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7999, allocations: 3.938 kB / 0.9546 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.7999, allocations: 0 / 0.9546 GB, free: 7.547 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.0003748/0.8003, allocations: 358.4 kB / 0.955 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.8004, allocations: 16.7 kB / 0.955 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.8004, allocations: 41.59 kB / 0.955 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.8004, allocations: 19.98 kB / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.8006, allocations: 185.8 kB / 0.9552 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.8007, allocations: 2.625 kB / 0.9552 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.8007, allocations: 9.156 kB / 0.9553 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.8009, allocations: 93.77 kB / 0.9553 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8009, allocations: 0 / 0.9553 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.8009, allocations: 1.656 kB / 0.9553 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.801, allocations: 1.562 kB / 0.9553 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.8011, allocations: 47 kB / 0.9554 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.8016, allocations: 430.3 kB / 0.9558 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.11e-05/0.8017, allocations: 44.73 kB / 0.9558 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.8018, allocations: 19.47 kB / 0.9559 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.8018, allocations: 1.219 kB / 0.9559 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.8018, allocations: 35.81 kB / 0.9559 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.624e-06/0.8018, allocations: 3.984 kB / 0.9559 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002162/0.8021, allocations: 51.05 kB / 0.9559 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.8021, allocations: 86.44 kB / 0.956 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.8023, allocations: 159.4 kB / 0.9562 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.8023, allocations: 25.7 kB / 0.9562 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.8024, allocations: 104.4 kB / 0.9563 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.8024, allocations: 9.094 kB / 0.9563 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.8024, allocations: 0 / 0.9563 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.8025, allocations: 324.8 kB / 0.9566 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.8025, allocations: 7.625 kB / 0.9566 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.8025, allocations: 26.14 kB / 0.9567 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.134e-05/0.8026, allocations: 13.66 kB / 0.9567 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8026, allocations: 0 / 0.9567 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001026/0.8027, allocations: 54.95 kB / 0.9567 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.8027, allocations: 8.766 kB / 0.9567 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.8027, allocations: 1.031 kB / 0.9567 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.8027, allocations: 5.281 kB / 0.9567 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.8028, allocations: 4.781 kB / 0.9567 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.8028, allocations: 13.17 kB / 0.9568 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.8029, allocations: 2.125 kB / 0.9568 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.8029, allocations: 1.281 kB / 0.9568 GB, free: 5.383 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 7.718e-05/0.803, allocations: 117.2 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.803, allocations: 7.875 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.8031, allocations: 14.67 kB / 0.9569 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8031, allocations: 1.469 kB / 0.9569 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8031, allocations: 0 / 0.9569 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.8031, allocations: 5.375 kB / 0.9569 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.8034, allocations: 477.8 kB / 0.9574 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8034, allocations: 1.188 kB / 0.9574 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.8035, allocations: 3.344 kB / 0.9574 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8035, allocations: 0 / 0.9574 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.8035, allocations: 0.9688 kB / 0.9574 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8035, allocations: 1 kB / 0.9574 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8035, allocations: 0 / 0.9574 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.396e-05/0.8036, allocations: 90.69 kB / 0.9574 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.8036, allocations: 83.7 kB / 0.9575 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.8036, allocations: 5.266 kB / 0.9575 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.852e-05/0.8037, allocations: 1.438 kB / 0.9575 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.8037, allocations: 1.094 kB / 0.9575 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/0.8037, allocations: 1.469 kB / 0.9575 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.921e-05/0.8038, allocations: 130.8 kB / 0.9577 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8038, allocations: 1.531 kB / 0.9577 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001837/0.8039, allocations: 9.656 kB / 0.9577 GB, free: 4.426 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.0002745/0.8042, allocations: 0.616 MB / 0.9583 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.722e-05/0.8043, allocations: 15.25 kB / 0.9583 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8043, allocations: 0 / 0.9583 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.8043, allocations: 4.094 kB / 0.9583 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.8045, allocations: 8.141 kB / 0.9583 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.8052, allocations: 0.5502 MB / 0.9588 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.8054, allocations: 0.6992 MB / 0.9595 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.8054, allocations: 8.391 kB / 0.9595 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.8055, allocations: 24 kB / 0.9595 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8055, allocations: 0 / 0.9595 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.8182, allocations: 1.488 MB / 0.961 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.8185, allocations: 200.1 kB / 0.9612 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.507, allocations: 0 / 0.9612 GB, free: 1.688 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