Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.404/2.404, allocations: 393.5 MB / 408.4 MB, free: 11 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.001228/0.001228, allocations: 184 kB / 0.4901 GB, free: 2.23 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.531/1.531, allocations: 223.1 MB / 0.7992 GB, free: 15.72 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.0009479/0.0009478, allocations: 102.2 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 10.09 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2955, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/0.4917, allocations: 149.6 MB / 1.375 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.492, allocations: 59.97 kB / 1.375 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002766/0.4948, allocations: 1.093 MB / 1.377 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.916e-06/0.4948, allocations: 0 / 1.377 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.4949, allocations: 224 / 1.377 GB, free: 14.43 MB / 0.8855 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.0003929/0.4953, allocations: 371.9 kB / 1.377 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.4953, allocations: 12.56 kB / 1.377 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.4954, allocations: 38.55 kB / 1.377 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.4954, allocations: 15.86 kB / 1.377 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.4956, allocations: 182.8 kB / 1.377 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.4956, allocations: 8 kB / 1.377 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.4957, allocations: 4 kB / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.4958, allocations: 88.33 kB / 1.377 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4958, allocations: 3.984 kB / 1.377 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4959, allocations: 7.938 kB / 1.377 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4959, allocations: 3.984 kB / 1.377 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.496, allocations: 39.92 kB / 1.377 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006157/0.4966, allocations: 448.5 kB / 1.378 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.287e-05/0.4967, allocations: 45.14 kB / 1.378 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.4967, allocations: 0 / 1.378 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.4967, allocations: 38.72 kB / 1.378 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.4967, allocations: 0 / 1.378 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0002228/0.4969, allocations: 45.61 kB / 1.378 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.497, allocations: 81.3 kB / 1.378 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.4972, allocations: 155.4 kB / 1.378 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.4972, allocations: 25.7 kB / 1.378 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.4973, allocations: 104 kB / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.447e-06/0.4973, allocations: 7.891 kB / 1.378 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.4973, allocations: 0 / 1.378 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4974, allocations: 322.8 kB / 1.378 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.4974, allocations: 7.984 kB / 1.378 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.4975, allocations: 25.72 kB / 1.378 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.4975, allocations: 8 kB / 1.378 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4975, allocations: 0 / 1.378 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/0.4976, allocations: 65.53 kB / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4977, allocations: 4 kB / 1.379 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4977, allocations: 0 / 1.379 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4977, allocations: 3.938 kB / 1.379 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.235e-05/0.4978, allocations: 8 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.4978, allocations: 64 / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.603e-05/0.4978, allocations: 15.84 kB / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4978, allocations: 4 kB / 1.379 GB, free: 12.03 MB / 0.8855 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 8.967e-05/0.4979, allocations: 117.8 kB / 1.379 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.498, allocations: 7.906 kB / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.498, allocations: 7.859 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.498, allocations: 4 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.498, allocations: 0 / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.498, allocations: 0 / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.4984, allocations: 478.8 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4984, allocations: 0 / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.4985, allocations: 7.938 kB / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.4985, allocations: 0 / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.4985, allocations: 3.984 kB / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4985, allocations: 0 / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4985, allocations: 4 kB / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.215e-05/0.4986, allocations: 91.64 kB / 1.379 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.4987, allocations: 89 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.4987, allocations: 3.938 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.4987, allocations: 0 / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.4987, allocations: 0 / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4987, allocations: 4 kB / 1.379 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.128e-05/0.4988, allocations: 133.3 kB / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.302e-06/0.4988, allocations: 0 / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001796/0.499, allocations: 7.938 kB / 1.38 GB, free: 10.98 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.0004176/0.4995, allocations: 0.6923 MB / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.976e-05/0.4996, allocations: 19.94 kB / 1.38 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4996, allocations: 0 / 1.38 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-05/0.4996, allocations: 11.98 kB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.4997, allocations: 7.859 kB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009142/0.5006, allocations: 0.703 MB / 1.381 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.5009, allocations: 0.7004 MB / 1.382 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.501, allocations: 8.422 kB / 1.382 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.501, allocations: 23.42 kB / 1.382 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of SimCode: time 5.01e-07/0.501, allocations: 0 / 1.382 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/0.5149, allocations: 1.477 MB / 1.383 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.5152, allocations: 193.9 kB / 1.383 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.097, allocations: 0 / 1.383 GB, free: 7.109 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat does not exist to compare? outputFormat=mat