Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.0009737/0.0009738, allocations: 99.86 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.001112/0.001112, allocations: 177.3 kB / 15.94 MB, free: 228 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.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.604/2.604, allocations: 390.2 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7805/0.7808, 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_cfm): time 0.000986/0.7819, allocations: 0.5141 MB / 0.9541 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001085/0.782, allocations: 41.44 kB / 0.9541 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.782, allocations: 1.188 kB / 0.9541 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.7821, allocations: 3.938 kB / 0.9541 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.7821, allocations: 8.906 kB / 0.9541 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.51e-05/0.7822, allocations: 15.61 kB / 0.9542 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.7823, allocations: 36.56 kB / 0.9542 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.7824, allocations: 29.31 kB / 0.9542 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.7824, allocations: 21.89 kB / 0.9542 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.7825, allocations: 19.42 kB / 0.9543 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.7825, allocations: 2.625 kB / 0.9543 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-06/0.7825, allocations: 1.281 kB / 0.9543 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.7826, allocations: 6.625 kB / 0.9543 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.7826, allocations: 36.39 kB / 0.9543 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.247e-05/0.7827, allocations: 60.73 kB / 0.9544 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.7827, allocations: 0 / 0.9544 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7827, allocations: 3.938 kB / 0.9544 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.7827, allocations: 0 / 0.9544 GB, free: 7.504 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.0002804/0.783, allocations: 358.3 kB / 0.9547 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.783, allocations: 9.906 kB / 0.9547 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.783, allocations: 40.84 kB / 0.9548 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.7831, allocations: 20.67 kB / 0.9548 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.7832, allocations: 185.4 kB / 0.955 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.7833, allocations: 6.75 kB / 0.955 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.7833, allocations: 12.5 kB / 0.955 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.7834, allocations: 89.52 kB / 0.9551 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.7834, allocations: 0 / 0.9551 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.7834, allocations: 4.719 kB / 0.9551 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.7835, allocations: 2.062 kB / 0.9551 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.192e-05/0.7835, allocations: 40.19 kB / 0.9551 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.7839, allocations: 445.2 kB / 0.9555 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.695e-05/0.784, allocations: 37.16 kB / 0.9556 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.784, allocations: 5.188 kB / 0.9556 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.784, allocations: 36.06 kB / 0.9556 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.784, allocations: 0 / 0.9556 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001459/0.7842, allocations: 58.28 kB / 0.9557 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.7842, allocations: 78.11 kB / 0.9557 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.7843, allocations: 163.8 kB / 0.9559 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-06/0.7844, allocations: 25.95 kB / 0.9559 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.7844, allocations: 108.2 kB / 0.956 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.7844, allocations: 8.969 kB / 0.956 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.7844, allocations: 0 / 0.956 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.704e-05/0.7845, allocations: 321.2 kB / 0.9563 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.7845, allocations: 10.8 kB / 0.9563 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.7845, allocations: 14.41 kB / 0.9564 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.149e-05/0.7845, allocations: 12.94 kB / 0.9564 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7846, allocations: 1.125 kB / 0.9564 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.213e-05/0.7846, allocations: 62.66 kB / 0.9564 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7847, allocations: 5.062 kB / 0.9564 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.7847, allocations: 0 / 0.9564 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.7847, allocations: 1.562 kB / 0.9564 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.7847, allocations: 5.719 kB / 0.9564 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.7848, allocations: 1.094 kB / 0.9564 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.7848, allocations: 6.797 kB / 0.9565 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.7848, allocations: 0 / 0.9565 GB, free: 5.371 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.701e-05/0.7849, allocations: 127.3 kB / 0.9566 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.7849, allocations: 7.969 kB / 0.9566 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.7849, allocations: 13.86 kB / 0.9566 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.7849, allocations: 1.031 kB / 0.9566 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7849, allocations: 1.25 kB / 0.9566 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.785, allocations: 0 / 0.9566 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.7852, allocations: 474.4 kB / 0.957 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7852, allocations: 0.9375 kB / 0.9571 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.7853, allocations: 3 kB / 0.9571 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7853, allocations: 5.062 kB / 0.9571 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.7853, allocations: 0 / 0.9571 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.7853, allocations: 1.312 kB / 0.9571 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7853, allocations: 4.984 kB / 0.9571 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.639e-05/0.7854, allocations: 91.55 kB / 0.9572 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.7854, allocations: 91.91 kB / 0.9572 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.7854, allocations: 6.125 kB / 0.9572 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.7854, allocations: 4 kB / 0.9572 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.7855, allocations: 9.422 kB / 0.9573 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.7855, allocations: 1.438 kB / 0.9573 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.674e-05/0.7855, allocations: 119.5 kB / 0.9574 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7856, allocations: 4.031 kB / 0.9574 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001857/0.7857, allocations: 10.59 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.0002284/0.786, allocations: 0.6866 MB / 0.9581 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.883e-05/0.7861, allocations: 22.28 kB / 0.9581 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7861, allocations: 0 / 0.9581 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/0.7861, allocations: 4.656 kB / 0.9581 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.7862, allocations: 10.17 kB / 0.9581 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.7869, allocations: 0.6976 MB / 0.9588 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.787, allocations: 0.6993 MB / 0.9595 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.787, allocations: 9.547 kB / 0.9595 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.7871, allocations: 22.72 kB / 0.9595 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7871, allocations: 0 / 0.9595 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01034/0.7974, allocations: 1.464 MB / 0.9609 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.7976, allocations: 189.2 kB / 0.9611 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.404, allocations: 0 / 0.9611 GB, free: 1.414 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat does not exist to compare? outputFormat=mat