Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 108.3 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.736/2.736, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.91 kB / 1.104 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8406/0.8425, allocations: 168.7 MB / 1.269 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002417/0.8449, allocations: 0.8336 MB / 1.27 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001631/0.845, allocations: 39.78 kB / 1.27 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.8451, allocations: 0 / 1.27 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.267e-05/0.8452, allocations: 11.86 kB / 1.27 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.8453, allocations: 15.81 kB / 1.27 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.06e-05/0.8453, allocations: 15.98 kB / 1.27 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.8455, allocations: 59.84 kB / 1.27 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.8456, allocations: 39.94 kB / 1.27 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.524e-05/0.8457, allocations: 27.84 kB / 1.27 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.548e-05/0.8457, allocations: 31.78 kB / 1.27 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.8458, allocations: 4 kB / 1.27 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.8458, allocations: 8 kB / 1.27 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.8458, allocations: 11.94 kB / 1.27 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.8459, allocations: 35.8 kB / 1.27 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.846, allocations: 77.47 kB / 1.27 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.846, allocations: 0 / 1.27 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.846, allocations: 0 / 1.27 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.679e-06/0.846, allocations: 7.938 kB / 1.27 GB, free: 3.973 MB / 0.9669 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.0005424/0.8466, allocations: 381.2 kB / 1.27 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.8466, allocations: 8.031 kB / 1.27 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.8467, allocations: 38.75 kB / 1.27 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.8467, allocations: 12.84 kB / 1.27 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.8469, allocations: 196.1 kB / 1.271 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.8469, allocations: 12.36 kB / 1.271 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.847, allocations: 4.375 kB / 1.271 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.8471, allocations: 99.89 kB / 1.271 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.8471, allocations: 3.938 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.8472, allocations: 0 / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.8472, allocations: 4 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.081e-05/0.8472, allocations: 39.92 kB / 1.271 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.8478, allocations: 432.7 kB / 1.271 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.286e-05/0.8479, allocations: 45.38 kB / 1.271 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.8479, allocations: 21.66 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.8479, allocations: 0 / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.848, allocations: 34.56 kB / 1.271 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.848, allocations: 4 kB / 1.271 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001893/0.8482, allocations: 61.52 kB / 1.271 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.8482, allocations: 77.11 kB / 1.271 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.8484, allocations: 160.7 kB / 1.272 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.8484, allocations: 25.7 kB / 1.272 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.8485, allocations: 100.1 kB / 1.272 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.8485, allocations: 11.94 kB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.8485, allocations: 21.92 kB / 1.272 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.8487, allocations: 326.8 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.8487, allocations: 8 kB / 1.272 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.8488, allocations: 13.72 kB / 1.272 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.775e-05/0.8488, allocations: 29.66 kB / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8488, allocations: 0 / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.785e-05/0.8489, allocations: 65.58 kB / 1.272 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.8489, allocations: 7.938 kB / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.8489, allocations: 0 / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.8489, allocations: 0 / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/0.849, allocations: 8 kB / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.849, allocations: 0 / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.849, allocations: 7.875 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.849, allocations: 8 kB / 1.272 GB, free: 1.477 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.5e-05/0.8491, allocations: 113.9 kB / 1.272 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.8492, allocations: 19.89 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.8492, allocations: 3.875 kB / 1.272 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.8492, allocations: 4 kB / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.8492, allocations: 0 / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.8492, allocations: 0 / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.8497, allocations: 474.7 kB / 1.273 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8497, allocations: 0 / 1.273 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.8497, allocations: 12.05 kB / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.8497, allocations: 0 / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.8497, allocations: 0 / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8497, allocations: 0 / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8497, allocations: 4 kB / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.467e-05/0.8498, allocations: 77.83 kB / 1.273 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.753e-05/0.8499, allocations: 93.08 kB / 1.273 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.8499, allocations: 4 kB / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.8499, allocations: 0 / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.8499, allocations: 0 / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.85, allocations: 4 kB / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.815e-05/0.8501, allocations: 118.1 kB / 1.273 GB, free: 464 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.8501, allocations: 4 kB / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002002/0.8503, allocations: 4 kB / 1.273 GB, free: 456 kB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006517/0.8509, allocations: 0.6215 MB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.95e-05/0.851, allocations: 15.98 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.851, allocations: 4 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.408e-05/0.851, allocations: 8.156 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.8512, allocations: 15.91 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.8526, allocations: 1.336 MB / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.853, allocations: 0.6929 MB / 1.276 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.8531, allocations: 12.42 kB / 1.276 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.8531, allocations: 23.44 kB / 1.276 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.8531, allocations: 0 / 1.276 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.8794, allocations: 1.594 MB / 1.277 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/9.184, allocations: 8.578 kB / 1.277 GB, free: 12.06 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.132841734681278]