Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001237/0.001237, 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.001261/0.001261, 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.415/1.415, allocations: 223.2 MB / 239.9 MB, free: 5.324 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.381/2.381, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 8 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8367/0.8371, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.0009897/0.8381, allocations: 0.5143 MB / 0.9541 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001087/0.8382, allocations: 45.41 kB / 0.9541 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.8383, allocations: 2.312 kB / 0.9541 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.8383, allocations: 3.938 kB / 0.9541 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.758e-05/0.8384, allocations: 5.484 kB / 0.9541 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.784e-05/0.8384, allocations: 18.52 kB / 0.9542 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.8385, allocations: 36.69 kB / 0.9542 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.8387, allocations: 34.72 kB / 0.9542 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.986e-05/0.8387, allocations: 18.08 kB / 0.9543 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.8388, allocations: 19.92 kB / 0.9543 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.8388, allocations: 1.469 kB / 0.9543 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-06/0.8388, allocations: 5.281 kB / 0.9543 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.8389, allocations: 10.38 kB / 0.9543 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.8389, allocations: 37.39 kB / 0.9543 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.125e-05/0.839, allocations: 52.44 kB / 0.9544 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.839, allocations: 0 / 0.9544 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.839, allocations: 3.938 kB / 0.9544 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.839, allocations: 1.812 kB / 0.9544 GB, free: 7.457 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.0003482/0.8393, allocations: 361.5 kB / 0.9547 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.8394, allocations: 9.375 kB / 0.9547 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.8395, allocations: 45.53 kB / 0.9548 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.8395, allocations: 16.7 kB / 0.9548 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.8397, allocations: 184.5 kB / 0.955 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.8397, allocations: 3.344 kB / 0.955 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.8398, allocations: 13.44 kB / 0.955 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.8399, allocations: 88.58 kB / 0.9551 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.8399, allocations: 3.984 kB / 0.9551 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.84, allocations: 2.156 kB / 0.9551 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.84, allocations: 5.125 kB / 0.9551 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.793e-05/0.84, allocations: 42.81 kB / 0.9551 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.8405, allocations: 434 kB / 0.9555 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.648e-05/0.8406, allocations: 46 kB / 0.9556 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.8406, allocations: 0 / 0.9556 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.8406, allocations: 31.75 kB / 0.9556 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.8406, allocations: 1.188 kB / 0.9556 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001651/0.8408, allocations: 54.03 kB / 0.9557 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.8408, allocations: 82.3 kB / 0.9557 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.8409, allocations: 167.4 kB / 0.9559 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.8409, allocations: 25.7 kB / 0.9559 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.841, allocations: 100.4 kB / 0.956 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/0.841, allocations: 17.28 kB / 0.956 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.841, allocations: 4 kB / 0.956 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.239e-05/0.8411, allocations: 321.7 kB / 0.9563 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.8411, allocations: 6.859 kB / 0.9564 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.8411, allocations: 18.12 kB / 0.9564 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.107e-05/0.8412, allocations: 13.47 kB / 0.9564 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8412, allocations: 0 / 0.9564 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.401e-05/0.8413, allocations: 59.31 kB / 0.9564 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.8413, allocations: 4.188 kB / 0.9564 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8413, allocations: 1.125 kB / 0.9564 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.8413, allocations: 1.188 kB / 0.9564 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.8414, allocations: 5.031 kB / 0.9565 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.8414, allocations: 5.438 kB / 0.9565 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.8414, allocations: 5.344 kB / 0.9565 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.8414, allocations: 2.25 kB / 0.9565 GB, free: 5.32 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.035e-05/0.8415, allocations: 117.2 kB / 0.9566 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.8415, allocations: 12.16 kB / 0.9566 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.8416, allocations: 14.05 kB / 0.9566 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.8416, allocations: 1.188 kB / 0.9566 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8416, allocations: 1.469 kB / 0.9566 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.8416, allocations: 0 / 0.9566 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.8419, allocations: 473.7 kB / 0.9571 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.8419, allocations: 0.875 kB / 0.9571 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/0.8419, allocations: 2.906 kB / 0.9571 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8419, allocations: 1.094 kB / 0.9571 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.8419, allocations: 5.156 kB / 0.9571 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8419, allocations: 0 / 0.9571 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8419, allocations: 5.406 kB / 0.9571 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.999e-05/0.842, allocations: 96.03 kB / 0.9572 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.842, allocations: 91.62 kB / 0.9572 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.8421, allocations: 1.531 kB / 0.9572 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.8421, allocations: 4.812 kB / 0.9573 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.8421, allocations: 5.203 kB / 0.9573 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.8421, allocations: 1.344 kB / 0.9573 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.66e-05/0.8422, allocations: 123.9 kB / 0.9574 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8422, allocations: 0 / 0.9574 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001801/0.8424, allocations: 9.969 kB / 0.9574 GB, free: 4.344 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.0002512/0.8426, allocations: 0.694 MB / 0.9581 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.528e-05/0.8427, allocations: 13.84 kB / 0.9581 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8427, allocations: 1.406 kB / 0.9581 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.8427, allocations: 8.031 kB / 0.9581 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.8429, allocations: 7.297 kB / 0.9581 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007939/0.8437, allocations: 0.7083 MB / 0.9588 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.8438, allocations: 0.6998 MB / 0.9595 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.8439, allocations: 8.391 kB / 0.9595 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.8439, allocations: 19.81 kB / 0.9595 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8439, allocations: 0 / 0.9595 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.8554, allocations: 1.475 MB / 0.9609 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.8556, allocations: 188.5 kB / 0.9611 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.497, allocations: 3.516 kB / 0.9611 GB, free: 1.355 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat does not exist to compare? outputFormat=mat