Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",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.294/2.294, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.00129/0.00129, allocations: 192.7 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.433/1.433, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.0009598/0.0009598, allocations: 91.95 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.046e-05/4.049e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2868, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9387/1.226, allocations: 149.6 MB / 1.365 GB, free: 4.453 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/1.226, allocations: 64.72 kB / 1.365 GB, free: 4.418 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002603/1.228, allocations: 1.1 MB / 1.366 GB, free: 3.445 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.295e-06/1.228, allocations: 0 / 1.366 GB, free: 3.445 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.228, allocations: 0 / 1.366 GB, free: 3.445 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.0003279/1.229, allocations: 357.2 kB / 1.366 GB, free: 3.059 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.229, allocations: 16.03 kB / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.097e-05/1.229, allocations: 40.86 kB / 1.366 GB, free: 3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/1.229, allocations: 12.73 kB / 1.366 GB, free: 2.988 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/1.229, allocations: 182.8 kB / 1.367 GB, free: 2.77 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/1.229, allocations: 7.938 kB / 1.367 GB, free: 2.766 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/1.229, allocations: 4 kB / 1.367 GB, free: 2.762 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/1.229, allocations: 92.27 kB / 1.367 GB, free: 2.68 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.229, allocations: 0 / 1.367 GB, free: 2.68 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/1.229, allocations: 3.438 kB / 1.367 GB, free: 2.68 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/1.229, allocations: 8 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.761e-05/1.229, allocations: 34.33 kB / 1.367 GB, free: 2.648 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/1.23, allocations: 453.1 kB / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.689e-05/1.23, allocations: 40.09 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/1.23, allocations: 17.09 kB / 1.367 GB, free: 2.113 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/1.23, allocations: 0 / 1.367 GB, free: 2.113 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/1.23, allocations: 39.31 kB / 1.367 GB, free: 2.066 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 2.023e-06/1.23, allocations: 0 / 1.367 GB, free: 2.066 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001759/1.23, allocations: 46.94 kB / 1.367 GB, free: 2.02 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/1.23, allocations: 81.11 kB / 1.367 GB, free: 1.922 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/1.231, allocations: 143.9 kB / 1.368 GB, free: 1.789 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/1.231, allocations: 25.7 kB / 1.368 GB, free: 1.758 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/1.231, allocations: 109.5 kB / 1.368 GB, free: 1.656 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-06/1.231, allocations: 7.094 kB / 1.368 GB, free: 1.652 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/1.231, allocations: 4.062 kB / 1.368 GB, free: 1.648 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.231, allocations: 317.9 kB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/1.231, allocations: 11.3 kB / 1.368 GB, free: 1.324 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.162e-05/1.231, allocations: 24.97 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.153e-05/1.231, allocations: 4 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.231, allocations: 0 / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.047e-05/1.231, allocations: 64.47 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.231, allocations: 4 kB / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.231, allocations: 3.938 kB / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.231, allocations: 4 kB / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/1.231, allocations: 4 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.231, allocations: 3.938 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/1.231, allocations: 16.06 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/1.231, allocations: 3.25 kB / 1.368 GB, free: 1.195 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.984e-05/1.231, allocations: 108.9 kB / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/1.231, allocations: 11.97 kB / 1.368 GB, free: 1.07 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/1.231, allocations: 14.64 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.231, allocations: 0 / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.231, allocations: 4 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.231, allocations: 0 / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/1.232, allocations: 469.5 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.232, allocations: 0 / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/1.232, allocations: 8.062 kB / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.232, allocations: 0 / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/1.232, allocations: 0 / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.232, allocations: 0 / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.232, allocations: 3.984 kB / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.119e-05/1.232, allocations: 98.09 kB / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/1.232, allocations: 89.03 kB / 1.369 GB, free: 324 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/1.232, allocations: 6.938 kB / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/1.232, allocations: 0 / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/1.232, allocations: 0 / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/1.232, allocations: 3.953 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of sorting global known variables: time 8.48e-05/1.232, allocations: 121.2 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.232, allocations: 0 / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001666/1.232, allocations: 10.88 kB / 1.369 GB, free: 200 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.0004431/1.233, allocations: 0.6936 MB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.26e-05/1.233, allocations: 11.56 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.233, allocations: 0 / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.264e-05/1.233, allocations: 15.41 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/1.233, allocations: 12.52 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/1.233, allocations: 138.9 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/1.234, allocations: 0.6965 MB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.324e-05/1.234, allocations: 12.55 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/1.234, allocations: 26.17 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/1.234, allocations: 0 / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/1.245, allocations: 1.434 MB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/1.246, allocations: 173.6 kB / 1.372 GB, free: 13 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.877, allocations: 0 / 1.372 GB, free: 13 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat does not exist to compare? outputFormat=mat