Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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 11.1.0-maint.11.x/package.mo", uses=false) 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_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.006617/0.006617, allocations: 102.2 kB / 15.73 MB, free: 5.551 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.001718/0.001718, allocations: 196.7 kB / 16.67 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.509/2.509, allocations: 469.8 MB / 0.7425 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 68.11 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6638/0.6657, allocations: 159.1 MB / 1.22 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001785/0.6676, allocations: 0.8195 MB / 1.221 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 9.971e-05/0.6677, allocations: 43.78 kB / 1.221 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.6677, allocations: 0 / 1.221 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.6678, allocations: 11.86 kB / 1.221 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.493e-05/0.6678, allocations: 7.875 kB / 1.221 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.315e-05/0.6679, allocations: 19.98 kB / 1.221 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.436e-05/0.668, allocations: 59.84 kB / 1.221 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.6681, allocations: 55.84 kB / 1.221 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.645e-05/0.6682, allocations: 23.86 kB / 1.221 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.6682, allocations: 35.78 kB / 1.221 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.6682, allocations: 8 kB / 1.221 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-06/0.6683, allocations: 4 kB / 1.221 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.6683, allocations: 11.94 kB / 1.221 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.6683, allocations: 31.8 kB / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.6684, allocations: 79.3 kB / 1.221 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.6684, allocations: 4 kB / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6684, allocations: 0 / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6685, allocations: 0 / 1.221 GB, free: 0.7617 MB / 0.9356 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.0003844/0.6688, allocations: 379.1 kB / 1.222 GB, free: 348 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.6689, allocations: 11.97 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.6689, allocations: 38.75 kB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.669, allocations: 16.78 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.6691, allocations: 196.2 kB / 1.222 GB, free: 36 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.6692, allocations: 8.375 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.6692, allocations: 12.31 kB / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.6693, allocations: 95.86 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6694, allocations: 3.938 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.6694, allocations: 7.984 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.6694, allocations: 0 / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.33e-05/0.6695, allocations: 39.92 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.6699, allocations: 440.7 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.378e-05/0.67, allocations: 45.25 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.67, allocations: 17.78 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.6701, allocations: 4 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.6701, allocations: 34.56 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6701, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001392/0.6702, allocations: 57.52 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.6703, allocations: 81.11 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.6704, allocations: 156.3 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.6705, allocations: 29.7 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.6705, allocations: 100.1 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.6705, allocations: 12.2 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.6706, allocations: 17.67 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6707, allocations: 318.8 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.6707, allocations: 8 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.231e-05/0.6707, allocations: 17.66 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.926e-05/0.6708, allocations: 29.72 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6708, allocations: 4 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.83e-05/0.6709, allocations: 57.58 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.6709, allocations: 9.969 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.6709, allocations: 4 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.6709, allocations: 0 / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.863e-05/0.671, allocations: 4 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.671, allocations: 3.938 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.671, allocations: 11.94 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.671, allocations: 0 / 1.224 GB, free: 14.26 MB / 0.9512 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.187e-05/0.6711, allocations: 117.9 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.6712, allocations: 15.89 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.6712, allocations: 7.875 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.6712, allocations: 3.938 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.6712, allocations: 0 / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6712, allocations: 4 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.6716, allocations: 474.7 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6716, allocations: 4 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.6716, allocations: 3.984 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.6716, allocations: 4 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.6716, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6716, allocations: 3.938 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6717, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.474e-05/0.6717, allocations: 77.95 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.6718, allocations: 93.05 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.6718, allocations: 0 / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.224e-05/0.6718, allocations: 8 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-06/0.6718, allocations: 0 / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.6719, allocations: 0 / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.395e-05/0.6719, allocations: 119.2 kB / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6719, allocations: 0 / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001734/0.6721, allocations: 8 kB / 1.224 GB, free: 13.22 MB / 0.9512 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.000358/0.6725, allocations: 0.6235 MB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.785e-05/0.6726, allocations: 19.92 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6726, allocations: 160 / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.6726, allocations: 12 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.6727, allocations: 4 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.6738, allocations: 1.332 MB / 1.226 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.6741, allocations: 0.6963 MB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.773e-05/0.6742, allocations: 8.422 kB / 1.227 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.6742, allocations: 23.44 kB / 1.227 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of SimCode: time 2.966e-06/0.6742, allocations: 0 / 1.227 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.425/3.099, allocations: 1.593 MB / 1.229 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/13.83, allocations: 5.828 kB / 1.229 GB, free: 8.871 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches