Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.001013/0.001013, 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.001019/0.001019, 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.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.363 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.518/2.518, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003628, allocations: 15.98 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7966, allocations: 142.3 MB / 0.9536 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.0008812/0.7976, allocations: 0.5133 MB / 0.9541 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.396e-05/0.7977, allocations: 41.25 kB / 0.9541 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.7977, allocations: 1.188 kB / 0.9541 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.7977, allocations: 5.375 kB / 0.9541 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.7978, allocations: 7.938 kB / 0.9541 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.443e-05/0.7979, allocations: 16.05 kB / 0.9542 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.132e-05/0.7979, allocations: 39.69 kB / 0.9542 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.7981, allocations: 30.3 kB / 0.9542 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.064e-05/0.7981, allocations: 17.25 kB / 0.9542 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.574e-05/0.7981, allocations: 20.17 kB / 0.9543 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.7982, allocations: 1.438 kB / 0.9543 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.7982, allocations: 1.781 kB / 0.9543 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.7982, allocations: 10.22 kB / 0.9543 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.7982, allocations: 37.14 kB / 0.9543 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.521e-05/0.7983, allocations: 56.47 kB / 0.9544 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.7983, allocations: 0 / 0.9544 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7983, allocations: 0 / 0.9544 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.7983, allocations: 1.188 kB / 0.9544 GB, free: 7.547 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.0002854/0.7986, allocations: 361.9 kB / 0.9547 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.7986, allocations: 12.78 kB / 0.9547 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.787e-05/0.7987, allocations: 41.12 kB / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.7987, allocations: 16.08 kB / 0.9548 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.7989, allocations: 185.4 kB / 0.955 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.7989, allocations: 7 kB / 0.955 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.7989, allocations: 9.938 kB / 0.955 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.799, allocations: 89.05 kB / 0.9551 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.799, allocations: 0 / 0.9551 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.7991, allocations: 5.406 kB / 0.9551 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.7991, allocations: 1.219 kB / 0.9551 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.704e-05/0.7991, allocations: 43.47 kB / 0.9551 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.7995, allocations: 441.7 kB / 0.9555 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.599e-05/0.7996, allocations: 37.06 kB / 0.9556 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.7996, allocations: 5.531 kB / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.7996, allocations: 35.66 kB / 0.9556 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.873e-06/0.7996, allocations: 0 / 0.9556 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001451/0.7998, allocations: 58.53 kB / 0.9557 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.7998, allocations: 78.61 kB / 0.9557 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.7999, allocations: 157.8 kB / 0.9559 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.7999, allocations: 33.7 kB / 0.9559 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.8, allocations: 100.5 kB / 0.956 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.8, allocations: 13.36 kB / 0.956 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.8, allocations: 0 / 0.956 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.098e-05/0.8, allocations: 321.8 kB / 0.9563 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.8001, allocations: 10.23 kB / 0.9563 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.8001, allocations: 14.44 kB / 0.9564 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.182e-05/0.8001, allocations: 12.94 kB / 0.9564 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8001, allocations: 3.938 kB / 0.9564 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.137e-05/0.8002, allocations: 59.88 kB / 0.9564 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.8002, allocations: 4.406 kB / 0.9564 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8002, allocations: 1.156 kB / 0.9564 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.8002, allocations: 1.219 kB / 0.9564 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.8003, allocations: 5.25 kB / 0.9564 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8003, allocations: 4.812 kB / 0.9564 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.8003, allocations: 6.016 kB / 0.9565 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.8004, allocations: 5.812 kB / 0.9565 GB, free: 5.406 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.293e-05/0.8004, allocations: 117 kB / 0.9566 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.8005, allocations: 7.844 kB / 0.9566 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.8005, allocations: 14.45 kB / 0.9566 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.8005, allocations: 1.062 kB / 0.9566 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8005, allocations: 5.375 kB / 0.9566 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.8005, allocations: 0 / 0.9566 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.8008, allocations: 474.8 kB / 0.957 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8008, allocations: 4 kB / 0.9571 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.8008, allocations: 3.75 kB / 0.9571 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.8008, allocations: 0 / 0.9571 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.8008, allocations: 1.312 kB / 0.9571 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.8008, allocations: 1.125 kB / 0.9571 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8008, allocations: 0 / 0.9571 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.317e-05/0.8009, allocations: 100.8 kB / 0.9572 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.8009, allocations: 87.78 kB / 0.9572 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.8009, allocations: 5 kB / 0.9572 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.014e-05/0.801, allocations: 1 kB / 0.9572 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.801, allocations: 9.141 kB / 0.9573 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.801, allocations: 1.094 kB / 0.9573 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.906e-05/0.8011, allocations: 124.2 kB / 0.9574 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8011, allocations: 0 / 0.9574 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000194/0.8013, allocations: 11.44 kB / 0.9574 GB, free: 4.43 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.0002205/0.8015, allocations: 0.6907 MB / 0.9581 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.307e-05/0.8016, allocations: 17.38 kB / 0.9581 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8016, allocations: 1.062 kB / 0.9581 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.507e-06/0.8016, allocations: 3.812 kB / 0.9581 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.928e-05/0.8017, allocations: 10.17 kB / 0.9581 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.8023, allocations: 0.6985 MB / 0.9588 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.8025, allocations: 0.7 MB / 0.9595 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.112e-05/0.8025, allocations: 7.703 kB / 0.9595 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.8026, allocations: 23.41 kB / 0.9595 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8026, allocations: 0 / 0.9595 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01108/0.8136, allocations: 1.475 MB / 0.9609 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/0.8138, allocations: 191 kB / 0.9611 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.456, allocations: 3.938 kB / 0.9611 GB, free: 1.445 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat does not exist to compare? outputFormat=mat