Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009713/0.009713, allocations: 101.1 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 198.9 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.437/2.437, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.82/3.82, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 63.91 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248/1.249, allocations: 140.4 MB / 1.087 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.003472/1.253, allocations: 0.8199 MB / 1.088 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000217/1.253, allocations: 40.45 kB / 1.088 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/1.253, allocations: 1.375 kB / 1.088 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.648e-05/1.253, allocations: 10.12 kB / 1.088 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/1.254, allocations: 6.094 kB / 1.088 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.766e-05/1.254, allocations: 23.38 kB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/1.254, allocations: 64.2 kB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/1.254, allocations: 37.02 kB / 1.088 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/1.254, allocations: 26.09 kB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/1.254, allocations: 37.45 kB / 1.089 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/1.254, allocations: 6.75 kB / 1.089 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.78e-05/1.254, allocations: 6.375 kB / 1.089 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/1.254, allocations: 12.34 kB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/1.254, allocations: 36.22 kB / 1.089 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/1.255, allocations: 81.83 kB / 1.089 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.255, allocations: 0 / 1.089 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.224e-06/1.255, allocations: 1.156 kB / 1.089 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.437e-06/1.255, allocations: 0 / 1.089 GB, free: 4.762 MB / 0.8575 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.0005657/1.255, allocations: 380.5 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/1.255, allocations: 9.531 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/1.255, allocations: 39.31 kB / 1.089 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/1.255, allocations: 14 kB / 1.089 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/1.256, allocations: 192.1 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/1.256, allocations: 12.16 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/1.256, allocations: 4.938 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/1.256, allocations: 91.56 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.256, allocations: 7.938 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/1.256, allocations: 5.062 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/1.256, allocations: 2.094 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/1.256, allocations: 35.28 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006654/1.257, allocations: 430 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.986e-05/1.257, allocations: 50.56 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/1.257, allocations: 23.41 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/1.257, allocations: 1.547 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/1.257, allocations: 32.23 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.863e-06/1.257, allocations: 1 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002461/1.257, allocations: 60.48 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/1.257, allocations: 78.91 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/1.258, allocations: 164.7 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/1.258, allocations: 26.77 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/1.258, allocations: 107.9 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/1.258, allocations: 9.547 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/1.258, allocations: 14.02 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.849e-05/1.258, allocations: 320.4 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/1.258, allocations: 11.27 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.137e-05/1.258, allocations: 16.77 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.68e-05/1.258, allocations: 26.09 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.258, allocations: 1.609 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001364/1.258, allocations: 56.83 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/1.258, allocations: 9.656 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.258, allocations: 5 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.258, allocations: 4.641 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/1.258, allocations: 6.578 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.258, allocations: 5.188 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/1.258, allocations: 11.27 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-06/1.258, allocations: 1.375 kB / 1.091 GB, free: 2.637 MB / 0.8575 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 7.733e-05/1.258, allocations: 117.7 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/1.259, allocations: 11.98 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/1.259, allocations: 12.89 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.259, allocations: 0.6562 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.259, allocations: 1.094 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.259, allocations: 1.125 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/1.259, allocations: 470.6 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.259, allocations: 1.156 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/1.259, allocations: 3.766 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/1.259, allocations: 5.188 kB / 1.091 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/1.259, allocations: 0 / 1.091 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.259, allocations: 5.031 kB / 1.091 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.259, allocations: 1.922 kB / 1.091 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/1.259, allocations: 76.38 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/1.259, allocations: 93.69 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/1.259, allocations: 6.781 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.531e-05/1.259, allocations: 4.031 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/1.259, allocations: 6.312 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/1.26, allocations: 1.062 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001274/1.26, allocations: 118.4 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/1.26, allocations: 0 / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003735/1.26, allocations: 6.781 kB / 1.092 GB, free: 1.719 MB / 0.8575 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.000356/1.26, allocations: 0.6169 MB / 1.092 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001183/1.261, allocations: 19.75 kB / 1.092 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.261, allocations: 0 / 1.092 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/1.261, allocations: 9.047 kB / 1.092 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/1.261, allocations: 9.922 kB / 1.092 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/1.263, allocations: 1.331 MB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/1.263, allocations: 0.6931 MB / 1.094 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.908e-05/1.263, allocations: 10.7 kB / 1.094 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/1.263, allocations: 25.31 kB / 1.094 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of SimCode: time 5.41e-07/1.263, allocations: 0 / 1.094 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/1.295, allocations: 1.572 MB / 1.096 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/13.39, allocations: 3.203 kB / 1.096 GB, free: 14.76 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches