Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.001147/0.001147, allocations: 99.39 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.001417/0.001417, 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.399/1.399, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.437/2.437, allocations: 390.3 MB / 0.6653 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003232, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6943/0.6946, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.0008511/0.6955, allocations: 0.5136 MB / 0.9541 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.381e-05/0.6956, allocations: 40.94 kB / 0.9541 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.6957, allocations: 2.812 kB / 0.9541 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.6957, allocations: 3.938 kB / 0.9541 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.6957, allocations: 5.391 kB / 0.9541 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.048e-05/0.6958, allocations: 18.61 kB / 0.9542 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.907e-05/0.6959, allocations: 36.12 kB / 0.9542 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.696, allocations: 38.48 kB / 0.9542 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.93e-05/0.696, allocations: 16.91 kB / 0.9543 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.248e-05/0.6961, allocations: 19.44 kB / 0.9543 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.6961, allocations: 1.219 kB / 0.9543 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.6961, allocations: 2.062 kB / 0.9543 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.6961, allocations: 10.34 kB / 0.9543 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.6962, allocations: 37.42 kB / 0.9543 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.639e-05/0.6962, allocations: 48.36 kB / 0.9544 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.6962, allocations: 0 / 0.9544 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6962, allocations: 4 kB / 0.9544 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.6963, allocations: 0 / 0.9544 GB, free: 7.508 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.0003086/0.6966, allocations: 366 kB / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.6966, allocations: 9.844 kB / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.6967, allocations: 36.94 kB / 0.9548 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.6967, allocations: 16.42 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.6968, allocations: 189.3 kB / 0.955 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.6969, allocations: 6.812 kB / 0.955 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.6969, allocations: 13.5 kB / 0.955 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.697, allocations: 92.86 kB / 0.9551 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.697, allocations: 0 / 0.9551 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.697, allocations: 1.5 kB / 0.9551 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.697, allocations: 1.188 kB / 0.9551 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.862e-05/0.6971, allocations: 43.03 kB / 0.9551 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.6975, allocations: 439.2 kB / 0.9555 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.6976, allocations: 40.91 kB / 0.9556 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.6976, allocations: 3.938 kB / 0.9556 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.6976, allocations: 36.25 kB / 0.9556 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.6976, allocations: 0 / 0.9556 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001477/0.6978, allocations: 50.83 kB / 0.9557 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.6978, allocations: 86.34 kB / 0.9557 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.6979, allocations: 158.5 kB / 0.9559 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.698, allocations: 26.77 kB / 0.9559 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.698, allocations: 107.4 kB / 0.956 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-06/0.698, allocations: 10.16 kB / 0.956 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.698, allocations: 4.25 kB / 0.956 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.6981, allocations: 325.4 kB / 0.9563 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.6981, allocations: 2.031 kB / 0.9563 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.6981, allocations: 23.2 kB / 0.9564 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.337e-05/0.6982, allocations: 12.53 kB / 0.9564 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6982, allocations: 0 / 0.9564 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.199e-05/0.6982, allocations: 50.89 kB / 0.9564 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6983, allocations: 10.5 kB / 0.9564 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6983, allocations: 5.391 kB / 0.9564 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.6983, allocations: 1.125 kB / 0.9564 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.6984, allocations: 5.156 kB / 0.9564 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6984, allocations: 5.219 kB / 0.9565 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.6984, allocations: 1.188 kB / 0.9565 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.6984, allocations: 6.531 kB / 0.9565 GB, free: 5.367 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.788e-05/0.6985, allocations: 114.3 kB / 0.9566 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.6985, allocations: 7.5 kB / 0.9566 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.6986, allocations: 18.61 kB / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.6986, allocations: 1.375 kB / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6986, allocations: 0 / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.6986, allocations: 1.5 kB / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.6988, allocations: 478.2 kB / 0.9571 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6989, allocations: 0 / 0.9571 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.6989, allocations: 3.125 kB / 0.9571 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.6989, allocations: 5.906 kB / 0.9571 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.6989, allocations: 0 / 0.9571 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6989, allocations: 1.406 kB / 0.9571 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6989, allocations: 0 / 0.9571 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.273e-05/0.699, allocations: 95.88 kB / 0.9572 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.699, allocations: 88.86 kB / 0.9572 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.699, allocations: 4.859 kB / 0.9572 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.699, allocations: 4.844 kB / 0.9572 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.6991, allocations: 5.078 kB / 0.9573 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.6991, allocations: 4.984 kB / 0.9573 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.033e-05/0.6991, allocations: 123.2 kB / 0.9574 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6992, allocations: 0 / 0.9574 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001836/0.6993, allocations: 15.16 kB / 0.9574 GB, free: 4.387 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.0002619/0.6996, allocations: 0.6956 MB / 0.9581 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.902e-05/0.6997, allocations: 14.41 kB / 0.9581 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6997, allocations: 0 / 0.9581 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.056e-05/0.6997, allocations: 7.844 kB / 0.9581 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.6998, allocations: 15.61 kB / 0.9581 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.7005, allocations: 0.6921 MB / 0.9588 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.51e-05/0.7007, allocations: 0.6951 MB / 0.9595 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.7007, allocations: 13.11 kB / 0.9595 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.7007, allocations: 23.03 kB / 0.9595 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.7007, allocations: 0 / 0.9595 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.7114, allocations: 1.469 MB / 0.9609 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001235/0.7116, allocations: 192.4 kB / 0.9611 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.354, allocations: 0 / 0.9611 GB, free: 1.402 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat does not exist to compare? outputFormat=mat