Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.385/2.385, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001092/0.001092, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.0009642/0.0009646, allocations: 83.97 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.649e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2992, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9811/1.28, allocations: 149.6 MB / 1.365 GB, free: 4.484 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/1.281, allocations: 66.92 kB / 1.365 GB, free: 4.449 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002579/1.283, allocations: 1.092 MB / 1.366 GB, free: 3.488 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.643e-06/1.283, allocations: 0 / 1.366 GB, free: 3.488 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.283, allocations: 0 / 1.366 GB, free: 3.488 MB / 0.823 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.0003471/1.284, allocations: 358.2 kB / 1.366 GB, free: 3.102 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.284, allocations: 8.031 kB / 1.366 GB, free: 3.094 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/1.284, allocations: 41.92 kB / 1.366 GB, free: 3.047 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/1.284, allocations: 15.86 kB / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/1.284, allocations: 178.9 kB / 1.367 GB, free: 2.816 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/1.284, allocations: 11.44 kB / 1.367 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/1.284, allocations: 7.625 kB / 1.367 GB, free: 2.805 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/1.284, allocations: 85.95 kB / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.284, allocations: 4 kB / 1.367 GB, free: 2.723 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/1.284, allocations: 0 / 1.367 GB, free: 2.723 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.284, allocations: 0 / 1.367 GB, free: 2.723 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.087e-05/1.284, allocations: 42.44 kB / 1.367 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/1.285, allocations: 449.1 kB / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.788e-05/1.285, allocations: 41.19 kB / 1.367 GB, free: 2.18 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/1.285, allocations: 23.78 kB / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/1.285, allocations: 0 / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/1.285, allocations: 30.56 kB / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/1.285, allocations: 0 / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001654/1.285, allocations: 56.72 kB / 1.367 GB, free: 2.059 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/1.285, allocations: 77.11 kB / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/1.285, allocations: 143.3 kB / 1.368 GB, free: 1.832 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/1.285, allocations: 25.7 kB / 1.368 GB, free: 1.801 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/1.285, allocations: 107 kB / 1.368 GB, free: 1.703 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/1.285, allocations: 11.84 kB / 1.368 GB, free: 1.691 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.285, allocations: 0 / 1.368 GB, free: 1.691 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.286, allocations: 326.5 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/1.286, allocations: 7.562 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/1.286, allocations: 25.59 kB / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/1.286, allocations: 4 kB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.286, allocations: 0.875 kB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.664e-05/1.286, allocations: 60.47 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.286, allocations: 5.562 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.286, allocations: 4.062 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/1.286, allocations: 0 / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/1.286, allocations: 11.94 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.286, allocations: 0.7812 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.362e-05/1.286, allocations: 7.938 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/1.286, allocations: 8.031 kB / 1.368 GB, free: 1.242 MB / 0.823 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 () * 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.208e-05/1.286, allocations: 104.9 kB / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/1.286, allocations: 15.83 kB / 1.368 GB, free: 1.117 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/1.286, allocations: 15.52 kB / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/1.286, allocations: 4 kB / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.286, allocations: 0 / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.286, allocations: 0 / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/1.286, allocations: 472.4 kB / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.286, allocations: 4.875 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.919e-05/1.287, allocations: 0 / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/1.287, allocations: 7.984 kB / 1.369 GB, free: 0.582 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/1.287, allocations: 4.062 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.287, allocations: 0 / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.287, allocations: 0 / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.363e-05/1.287, allocations: 94.77 kB / 1.369 GB, free: 476 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/1.287, allocations: 89 kB / 1.369 GB, free: 368 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/1.287, allocations: 0 / 1.369 GB, free: 368 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/1.287, allocations: 8.031 kB / 1.369 GB, free: 360 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/1.287, allocations: 0 / 1.369 GB, free: 360 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/1.287, allocations: 3.953 kB / 1.369 GB, free: 356 kB / 0.823 GB Notification: Performance of sorting global known variables: time 8.024e-05/1.287, allocations: 123.8 kB / 1.369 GB, free: 248 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.287, allocations: 0 / 1.369 GB, free: 248 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001802/1.287, allocations: 11.31 kB / 1.369 GB, free: 240 kB / 0.823 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 () * 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.0003714/1.287, allocations: 0.6907 MB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.514e-05/1.288, allocations: 15.56 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.288, allocations: 0 / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.347e-05/1.288, allocations: 7.938 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/1.288, allocations: 19.55 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/1.288, allocations: 138.8 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/1.288, allocations: 0.6965 MB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.726e-05/1.288, allocations: 4.438 kB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/1.288, allocations: 29.36 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.288, allocations: 4 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/1.301, allocations: 1.438 MB / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/1.301, allocations: 160.5 kB / 1.372 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.892, allocations: 3.938 kB / 1.372 GB, free: 13.05 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat does not exist to compare? outputFormat=mat