Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.289/2.289, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001164/0.001164, allocations: 196.8 kB / 496.1 MB, free: 12.86 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.634/1.634, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001192/0.001192, allocations: 91.83 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.783e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.316, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.352, allocations: 149.6 MB / 1.365 GB, free: 4.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/1.353, allocations: 62.53 kB / 1.365 GB, free: 4.398 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003139/1.356, allocations: 1.096 MB / 1.366 GB, free: 3.434 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.334e-06/1.356, allocations: 0 / 1.366 GB, free: 3.434 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.061e-05/1.356, allocations: 0 / 1.366 GB, free: 3.434 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.0003803/1.356, allocations: 357.2 kB / 1.366 GB, free: 3.047 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/1.356, allocations: 12.03 kB / 1.366 GB, free: 3.035 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/1.357, allocations: 39.8 kB / 1.366 GB, free: 2.992 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/1.357, allocations: 11.86 kB / 1.366 GB, free: 2.98 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/1.357, allocations: 178.9 kB / 1.367 GB, free: 2.766 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/1.357, allocations: 14.92 kB / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/1.357, allocations: 7.188 kB / 1.367 GB, free: 2.75 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/1.357, allocations: 91.8 kB / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.357, allocations: 0 / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/1.357, allocations: 3.75 kB / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/1.357, allocations: 0 / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.667e-05/1.357, allocations: 38.25 kB / 1.367 GB, free: 2.641 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000798/1.358, allocations: 456.1 kB / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.109e-05/1.358, allocations: 40.28 kB / 1.367 GB, free: 2.121 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/1.358, allocations: 20.47 kB / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/1.358, allocations: 0 / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/1.358, allocations: 34.5 kB / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.358, allocations: 0 / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001753/1.358, allocations: 44.67 kB / 1.367 GB, free: 2.008 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/1.359, allocations: 85.16 kB / 1.367 GB, free: 1.906 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/1.359, allocations: 151.2 kB / 1.368 GB, free: 1.77 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/1.359, allocations: 25.7 kB / 1.368 GB, free: 1.738 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/1.359, allocations: 110.4 kB / 1.368 GB, free: 1.637 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-06/1.359, allocations: 7.906 kB / 1.368 GB, free: 1.629 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/1.359, allocations: 2.5 kB / 1.368 GB, free: 1.629 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.359, allocations: 322.2 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/1.359, allocations: 6.938 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/1.359, allocations: 24.47 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/1.359, allocations: 6.812 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.359, allocations: 0 / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.653e-05/1.359, allocations: 63.47 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.359, allocations: 4 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/1.359, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.359, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/1.359, allocations: 12.06 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.359, allocations: 0 / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/1.359, allocations: 11.84 kB / 1.368 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-06/1.359, allocations: 224 / 1.368 GB, free: 1.184 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 7.872e-05/1.359, allocations: 107.2 kB / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/1.359, allocations: 11.84 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/1.36, allocations: 14.89 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.36, allocations: 0 / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.36, allocations: 0 / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.36, allocations: 8 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/1.36, allocations: 470.4 kB / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.36, allocations: 0 / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/1.36, allocations: 0 / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.36, allocations: 4 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/1.36, allocations: 0 / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/1.36, allocations: 7.922 kB / 1.369 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.36, allocations: 4 kB / 1.369 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/1.36, allocations: 89.95 kB / 1.369 GB, free: 424 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/1.36, allocations: 89 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/1.36, allocations: 4 kB / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/1.36, allocations: 7.125 kB / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/1.36, allocations: 4.031 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/1.36, allocations: 3.953 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of sorting global known variables: time 9.556e-05/1.36, allocations: 121.6 kB / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.36, allocations: 0 / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001884/1.361, allocations: 8 kB / 1.369 GB, free: 184 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.0004652/1.361, allocations: 0.6935 MB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.392e-05/1.361, allocations: 19.31 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.361, allocations: 0 / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/1.361, allocations: 4 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/1.361, allocations: 12.2 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/1.362, allocations: 144 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/1.362, allocations: 0.6926 MB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.326e-05/1.362, allocations: 8.422 kB / 1.371 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/1.362, allocations: 26.17 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of SimCode: time 6.81e-07/1.362, allocations: 0 / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/1.375, allocations: 1.444 MB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/1.375, allocations: 165.5 kB / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.863, allocations: 2.391 kB / 1.372 GB, free: 12.98 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat does not exist to compare? outputFormat=mat