Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 189 kB / 498.1 MB, free: 5.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.1 MB / 0.7948 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000894/0.0008937, allocations: 100.3 kB / 0.9346 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 10.12 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2827, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.4888, allocations: 148.8 MB / 1.368 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.4891, allocations: 67.95 kB / 1.368 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002783/0.4919, allocations: 1.081 MB / 1.369 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4919, allocations: 0 / 1.369 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.492, allocations: 4 kB / 1.369 GB, free: 3.352 MB / 0.8698 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.0004117/0.4924, allocations: 371 kB / 1.37 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/0.4925, allocations: 16.02 kB / 1.37 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.955e-05/0.4925, allocations: 38.56 kB / 1.37 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.4926, allocations: 15.8 kB / 1.37 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.4928, allocations: 175.1 kB / 1.37 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4928, allocations: 8 kB / 1.37 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.4928, allocations: 7.938 kB / 1.37 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.493, allocations: 95.33 kB / 1.37 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.493, allocations: 3.984 kB / 1.37 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.493, allocations: 4 kB / 1.37 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.493, allocations: 4 kB / 1.37 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.183e-05/0.4931, allocations: 31.98 kB / 1.37 GB, free: 2.488 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.4938, allocations: 460.5 kB / 1.371 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.096e-05/0.4939, allocations: 41.25 kB / 1.371 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.4939, allocations: 0 / 1.371 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.4939, allocations: 34.56 kB / 1.371 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.4939, allocations: 0 / 1.371 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001914/0.4941, allocations: 61.59 kB / 1.371 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.4942, allocations: 77.11 kB / 1.371 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.4943, allocations: 148 kB / 1.371 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4944, allocations: 25.7 kB / 1.371 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.4944, allocations: 107.9 kB / 1.371 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-06/0.4944, allocations: 0 / 1.371 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.4945, allocations: 4 kB / 1.371 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.4946, allocations: 323 kB / 1.371 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.4946, allocations: 12 kB / 1.371 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.4946, allocations: 17.72 kB / 1.371 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.4947, allocations: 8 kB / 1.371 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4947, allocations: 0 / 1.371 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.851e-05/0.4948, allocations: 61.53 kB / 1.371 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4948, allocations: 4.781 kB / 1.371 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4948, allocations: 0 / 1.371 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4948, allocations: 8.062 kB / 1.371 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.4949, allocations: 8 kB / 1.371 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4949, allocations: 0 / 1.371 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.495, allocations: 11.84 kB / 1.371 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.495, allocations: 7.922 kB / 1.371 GB, free: 0.957 MB / 0.8698 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.776e-05/0.4951, allocations: 117.8 kB / 1.372 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.4951, allocations: 7.906 kB / 1.372 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.4952, allocations: 7.875 kB / 1.372 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4952, allocations: 0 / 1.372 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4952, allocations: 7.938 kB / 1.372 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4952, allocations: 0 / 1.372 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.4956, allocations: 478.7 kB / 1.372 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4956, allocations: 0 / 1.372 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.4956, allocations: 4 kB / 1.372 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.4957, allocations: 0 / 1.372 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.4957, allocations: 4 kB / 1.372 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4957, allocations: 4.062 kB / 1.372 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4957, allocations: 0 / 1.372 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.456e-05/0.4958, allocations: 95.5 kB / 1.372 GB, free: 148 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.4958, allocations: 85.02 kB / 1.372 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.4959, allocations: 0 / 1.372 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.4959, allocations: 0 / 1.372 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.4959, allocations: 16.02 kB / 1.372 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.4959, allocations: 0 / 1.372 GB, free: 28 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001115/0.496, allocations: 124 kB / 1.372 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/0.496, allocations: 0 / 1.372 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002074/0.4963, allocations: 11.91 kB / 1.372 GB, free: 15.89 MB / 0.8855 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.0004535/0.4967, allocations: 0.6913 MB / 1.373 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.711e-05/0.4968, allocations: 19.94 kB / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4968, allocations: 0 / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.4968, allocations: 8 kB / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.4969, allocations: 11.89 kB / 1.373 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009913/0.498, allocations: 0.7127 MB / 1.374 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.4982, allocations: 0.6965 MB / 1.374 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.4983, allocations: 4.438 kB / 1.374 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.4983, allocations: 23.42 kB / 1.375 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of SimCode: time 2.91e-07/0.4983, allocations: 0 / 1.375 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01242/0.5108, allocations: 1.475 MB / 1.376 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.511, allocations: 183.3 kB / 1.376 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.078, allocations: 7.938 kB / 1.376 GB, free: 12.01 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat does not exist to compare? outputFormat=mat