Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",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.316/2.316, allocations: 390.3 MB / 402.8 MB, free: 6.73 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.00127/0.00127, allocations: 187.9 kB / 496.1 MB, free: 12.89 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.531/1.531, allocations: 221.3 MB / 0.7915 GB, free: 5.484 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.0009084/0.0009084, allocations: 87.95 kB / 0.9317 GB, free: 5.801 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.661e-05/3.664e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3005, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9204/1.221, allocations: 149.6 MB / 1.365 GB, free: 4.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/1.221, allocations: 63.08 kB / 1.365 GB, free: 4.484 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002589/1.224, allocations: 1.092 MB / 1.366 GB, free: 3.523 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.352e-06/1.224, allocations: 0 / 1.366 GB, free: 3.523 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.874e-06/1.224, allocations: 0 / 1.366 GB, free: 3.523 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.0003621/1.224, allocations: 365.7 kB / 1.366 GB, free: 3.129 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.224, allocations: 12.03 kB / 1.366 GB, free: 3.117 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.734e-05/1.224, allocations: 33.75 kB / 1.366 GB, free: 3.078 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/1.224, allocations: 15.86 kB / 1.366 GB, free: 3.062 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/1.225, allocations: 178.9 kB / 1.367 GB, free: 2.848 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/1.225, allocations: 11.61 kB / 1.367 GB, free: 2.84 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/1.225, allocations: 7.188 kB / 1.367 GB, free: 2.836 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/1.225, allocations: 89.41 kB / 1.367 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.225, allocations: 0 / 1.367 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/1.225, allocations: 3.375 kB / 1.367 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/1.225, allocations: 4 kB / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/1.225, allocations: 38 kB / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/1.226, allocations: 448.9 kB / 1.367 GB, free: 2.27 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.418e-05/1.226, allocations: 44.34 kB / 1.367 GB, free: 2.211 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/1.226, allocations: 21.41 kB / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/1.226, allocations: 0 / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/1.226, allocations: 34.5 kB / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.226, allocations: 4 kB / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001601/1.226, allocations: 49.34 kB / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/1.226, allocations: 81.11 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/1.226, allocations: 141.9 kB / 1.368 GB, free: 1.863 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/1.226, allocations: 29.64 kB / 1.368 GB, free: 1.828 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/1.226, allocations: 103.7 kB / 1.368 GB, free: 1.73 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/1.226, allocations: 15.77 kB / 1.368 GB, free: 1.719 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/1.226, allocations: 0 / 1.368 GB, free: 1.719 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.226, allocations: 326.3 kB / 1.368 GB, free: 1.395 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/1.226, allocations: 4 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/1.226, allocations: 21.47 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.58e-05/1.227, allocations: 7.625 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.227, allocations: 0 / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.43e-05/1.227, allocations: 64.91 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.227, allocations: 4.062 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.227, allocations: 4 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.227, allocations: 0 / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/1.227, allocations: 8 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.227, allocations: 0 / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/1.227, allocations: 11.84 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/1.227, allocations: 320 / 1.368 GB, free: 1.273 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.559e-05/1.227, allocations: 108.9 kB / 1.368 GB, free: 1.16 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/1.227, allocations: 15.83 kB / 1.368 GB, free: 1.145 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/1.227, allocations: 11.53 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.227, allocations: 4 kB / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.227, allocations: 0 / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/1.227, allocations: 4 kB / 1.368 GB, free: 1.129 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/1.227, allocations: 472.6 kB / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.227, allocations: 0 / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/1.227, allocations: 4 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.227, allocations: 0 / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/1.228, allocations: 4.062 kB / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.228, allocations: 0 / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.228, allocations: 3.938 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/1.228, allocations: 93.38 kB / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/1.228, allocations: 84.52 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/1.228, allocations: 8.812 kB / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.132e-05/1.228, allocations: 4.031 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/1.228, allocations: 3.984 kB / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/1.228, allocations: 3.953 kB / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000104/1.228, allocations: 120.6 kB / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of sort global known variables: time 2.31e-07/1.228, allocations: 0 / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001789/1.228, allocations: 11.75 kB / 1.369 GB, free: 276 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.0004751/1.229, allocations: 0.6908 MB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.288e-05/1.229, allocations: 15 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.229, allocations: 3.938 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.197e-05/1.229, allocations: 7.984 kB / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/1.229, allocations: 18.02 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/1.229, allocations: 137.6 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/1.229, allocations: 0.6965 MB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.054e-05/1.23, allocations: 4.438 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/1.23, allocations: 24.3 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of SimCode: time 7.12e-07/1.23, allocations: 4 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/1.243, allocations: 1.437 MB / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/1.243, allocations: 169.2 kB / 1.372 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.746, allocations: 0 / 1.372 GB, free: 13.07 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat does not exist to compare? outputFormat=mat