Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",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.001135/0.001139, allocations: 100.5 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.001241/0.001241, 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.44/1.44, allocations: 223.2 MB / 239.9 MB, free: 5.359 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.353/2.353, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.764/0.7643, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001012/0.7654, allocations: 0.5151 MB / 0.9541 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001035/0.7655, allocations: 41.17 kB / 0.9541 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.7656, allocations: 1.281 kB / 0.9541 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.7656, allocations: 7.922 kB / 0.9541 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.221e-05/0.7657, allocations: 9.297 kB / 0.9541 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.755e-05/0.7657, allocations: 19.39 kB / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.854e-05/0.7658, allocations: 36.84 kB / 0.9542 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.766, allocations: 34.36 kB / 0.9542 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.766, allocations: 20.42 kB / 0.9543 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.096e-05/0.7661, allocations: 16.7 kB / 0.9543 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.7661, allocations: 5.5 kB / 0.9543 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-06/0.7661, allocations: 2.656 kB / 0.9543 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.7662, allocations: 10.53 kB / 0.9543 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.7662, allocations: 36.17 kB / 0.9543 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.455e-05/0.7663, allocations: 53.66 kB / 0.9544 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.7663, allocations: 0 / 0.9544 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7663, allocations: 0 / 0.9544 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.7663, allocations: 0 / 0.9544 GB, free: 7.441 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.0003876/0.7667, allocations: 366.1 kB / 0.9547 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.7668, allocations: 13.81 kB / 0.9547 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.7668, allocations: 35.81 kB / 0.9548 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.7669, allocations: 17.52 kB / 0.9548 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.7671, allocations: 184.3 kB / 0.955 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.7671, allocations: 7.625 kB / 0.955 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.7671, allocations: 4.406 kB / 0.955 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.7673, allocations: 92.98 kB / 0.9551 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.7673, allocations: 1.281 kB / 0.9551 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.7673, allocations: 4 kB / 0.9551 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.7673, allocations: 2.5 kB / 0.9551 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.7674, allocations: 43.19 kB / 0.9551 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.7679, allocations: 438.6 kB / 0.9555 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.635e-05/0.768, allocations: 44.06 kB / 0.9556 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.768, allocations: 1.5 kB / 0.9556 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.768, allocations: 32.03 kB / 0.9556 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/0.768, allocations: 0 / 0.9556 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001694/0.7682, allocations: 54.52 kB / 0.9557 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.7682, allocations: 85.28 kB / 0.9557 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.7684, allocations: 163.3 kB / 0.9559 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.7684, allocations: 26.7 kB / 0.9559 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.7685, allocations: 108.6 kB / 0.956 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.7685, allocations: 8.844 kB / 0.956 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.7685, allocations: 0 / 0.956 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.7686, allocations: 324.9 kB / 0.9563 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.7686, allocations: 3.375 kB / 0.9563 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.7686, allocations: 27.14 kB / 0.9564 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.7686, allocations: 7.969 kB / 0.9564 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7687, allocations: 3.938 kB / 0.9564 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.168e-05/0.7687, allocations: 50.89 kB / 0.9564 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.7688, allocations: 5.156 kB / 0.9564 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7688, allocations: 1.156 kB / 0.9564 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.7688, allocations: 5.141 kB / 0.9564 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.197e-05/0.7688, allocations: 5.875 kB / 0.9564 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.7689, allocations: 4 kB / 0.9564 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.928e-05/0.7689, allocations: 10.75 kB / 0.9565 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.7689, allocations: 5.469 kB / 0.9565 GB, free: 5.297 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 6.584e-05/0.769, allocations: 118.9 kB / 0.9566 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.769, allocations: 7.625 kB / 0.9566 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.769, allocations: 10.52 kB / 0.9566 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.7691, allocations: 1.438 kB / 0.9566 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7691, allocations: 0 / 0.9566 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7691, allocations: 1.562 kB / 0.9566 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.7694, allocations: 477.7 kB / 0.9571 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7694, allocations: 0 / 0.9571 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.7694, allocations: 3.562 kB / 0.9571 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7694, allocations: 1 kB / 0.9571 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.7694, allocations: 0 / 0.9571 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7694, allocations: 1.25 kB / 0.9571 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7694, allocations: 1.25 kB / 0.9571 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.249e-05/0.7695, allocations: 99.72 kB / 0.9572 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.7696, allocations: 83.77 kB / 0.9572 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.7696, allocations: 9.391 kB / 0.9572 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.7696, allocations: 1.344 kB / 0.9572 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.7696, allocations: 3.953 kB / 0.9572 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.7696, allocations: 1.375 kB / 0.9573 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.146e-05/0.7697, allocations: 123.5 kB / 0.9574 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7697, allocations: 0 / 0.9574 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001853/0.7699, allocations: 14.97 kB / 0.9574 GB, free: 4.328 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.0003146/0.7702, allocations: 0.695 MB / 0.9581 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.377e-05/0.7703, allocations: 17.94 kB / 0.9581 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7703, allocations: 0 / 0.9581 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.026e-05/0.7704, allocations: 4.562 kB / 0.9581 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.7705, allocations: 15.02 kB / 0.9581 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008556/0.7714, allocations: 0.7115 MB / 0.9588 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.7715, allocations: 0.6965 MB / 0.9595 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.122e-05/0.7716, allocations: 4.781 kB / 0.9595 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.7716, allocations: 27.39 kB / 0.9595 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.7716, allocations: 0 / 0.9595 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.7851, allocations: 1.477 MB / 0.9609 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.7853, allocations: 188.4 kB / 0.9611 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.413, allocations: 2 kB / 0.9611 GB, free: 1.332 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat does not exist to compare? outputFormat=mat