Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",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.001159/0.001159, allocations: 100 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.001394/0.001394, 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.432/1.432, allocations: 223.2 MB / 239.9 MB, free: 5.375 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.496/2.496, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004176, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7894, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001166/0.7906, allocations: 0.5682 MB / 0.9541 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001825/0.7908, allocations: 50.2 kB / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.7909, allocations: 1.562 kB / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.7909, allocations: 7.922 kB / 0.9542 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.433e-05/0.791, allocations: 9.484 kB / 0.9542 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.005e-05/0.7911, allocations: 16.61 kB / 0.9542 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.7912, allocations: 47.11 kB / 0.9543 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.7914, allocations: 42.23 kB / 0.9543 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.7915, allocations: 22.88 kB / 0.9543 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.7915, allocations: 21.05 kB / 0.9544 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.7916, allocations: 1.75 kB / 0.9544 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.7916, allocations: 1.812 kB / 0.9544 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.7916, allocations: 7.281 kB / 0.9544 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.7916, allocations: 45.66 kB / 0.9544 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.666e-05/0.7917, allocations: 72.25 kB / 0.9545 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.7917, allocations: 0 / 0.9545 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.775e-06/0.7918, allocations: 3.938 kB / 0.9545 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7918, allocations: 0 / 0.9545 GB, free: 7.375 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004189/0.7922, allocations: 376.1 kB / 0.9548 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.7923, allocations: 9.281 kB / 0.9548 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.7923, allocations: 45.45 kB / 0.9549 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.979e-05/0.7924, allocations: 16.98 kB / 0.9549 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.7926, allocations: 207.9 kB / 0.9551 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.7926, allocations: 8.281 kB / 0.9551 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.7926, allocations: 9.594 kB / 0.9551 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.7928, allocations: 112.7 kB / 0.9552 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.7929, allocations: 0 / 0.9552 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.7929, allocations: 5.328 kB / 0.9552 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.7929, allocations: 2.375 kB / 0.9552 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.793, allocations: 45.72 kB / 0.9553 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.7936, allocations: 467.3 kB / 0.9557 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.733e-05/0.7936, allocations: 32.34 kB / 0.9558 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.7936, allocations: 1.594 kB / 0.9558 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.7937, allocations: 38.55 kB / 0.9558 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.874e-06/0.7937, allocations: 0 / 0.9558 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001936/0.7939, allocations: 55.7 kB / 0.9558 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.7939, allocations: 82.08 kB / 0.9559 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.7941, allocations: 185.3 kB / 0.9561 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.7941, allocations: 25.7 kB / 0.9561 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.7942, allocations: 121.1 kB / 0.9562 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-06/0.7942, allocations: 1.5 kB / 0.9562 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.7942, allocations: 0 / 0.9562 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.7943, allocations: 321.3 kB / 0.9566 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.7943, allocations: 3.5 kB / 0.9566 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.7943, allocations: 22.67 kB / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.7943, allocations: 12.66 kB / 0.9566 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7943, allocations: 4 kB / 0.9566 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.738e-05/0.7944, allocations: 59.67 kB / 0.9566 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.7945, allocations: 5.844 kB / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7945, allocations: 0 / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.7945, allocations: 1.125 kB / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.862e-05/0.7946, allocations: 9.484 kB / 0.9567 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.7946, allocations: 0.9688 kB / 0.9567 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.7946, allocations: 14.05 kB / 0.9567 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.7946, allocations: 2.156 kB / 0.9567 GB, free: 5.156 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.481e-05/0.7947, allocations: 117.3 kB / 0.9568 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.7948, allocations: 13.25 kB / 0.9568 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.7948, allocations: 15.92 kB / 0.9568 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7948, allocations: 5.062 kB / 0.9568 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7948, allocations: 1.125 kB / 0.9568 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7948, allocations: 0 / 0.9568 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.7952, allocations: 473.4 kB / 0.9573 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.7952, allocations: 8.922 kB / 0.9573 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.7952, allocations: 3.031 kB / 0.9573 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.7952, allocations: 1.062 kB / 0.9573 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.7953, allocations: 3.938 kB / 0.9573 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7953, allocations: 1.031 kB / 0.9573 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7953, allocations: 4.984 kB / 0.9573 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.288e-05/0.7954, allocations: 90.75 kB / 0.9574 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.7954, allocations: 92.44 kB / 0.9575 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.7954, allocations: 1.062 kB / 0.9575 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/0.7955, allocations: 5.234 kB / 0.9575 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.7955, allocations: 5.203 kB / 0.9575 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.7955, allocations: 5.031 kB / 0.9575 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.86e-05/0.7956, allocations: 137.3 kB / 0.9576 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7956, allocations: 0 / 0.9576 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002086/0.7958, allocations: 12.47 kB / 0.9576 GB, free: 4.172 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.0002946/0.7961, allocations: 0.6969 MB / 0.9583 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.854e-05/0.7962, allocations: 22.16 kB / 0.9583 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7962, allocations: 1.125 kB / 0.9583 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.7962, allocations: 7.891 kB / 0.9583 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.7964, allocations: 15.09 kB / 0.9584 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.7974, allocations: 0.7739 MB / 0.9591 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.7976, allocations: 0.7071 MB / 0.9598 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.7977, allocations: 6.062 kB / 0.9598 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.7978, allocations: 27.61 kB / 0.9598 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7978, allocations: 0 / 0.9598 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.8129, allocations: 1.671 MB / 0.9615 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003228/0.8134, allocations: 187.9 kB / 0.9616 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.405, allocations: 3.938 kB / 0.9617 GB, free: 1.043 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat does not exist to compare? outputFormat=mat