Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_10_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.000798/0.000798, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005508/0.005508, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 16 kB / 0.873 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.5549, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.0008465/0.5558, allocations: 0.5432 MB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.062e-05/0.5559, allocations: 39.78 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.5559, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.556, allocations: 7.938 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.556, allocations: 7.984 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.82e-05/0.5561, allocations: 12 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.5562, allocations: 59.78 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.5563, allocations: 39.97 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.5563, allocations: 15.86 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.379e-05/0.5564, allocations: 15.88 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.5564, allocations: 4 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-06/0.5564, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.5564, allocations: 15.91 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.5565, allocations: 49.52 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.802e-05/0.5566, allocations: 65.95 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5566, allocations: 8 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5566, allocations: 3.938 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.5566, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 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.0003392/0.5569, allocations: 367.2 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.557, allocations: 12.03 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.557, allocations: 34.75 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.557, allocations: 8.844 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.5572, allocations: 200.1 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.5572, allocations: 12.38 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.5573, allocations: 12.31 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.5574, allocations: 91.88 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5574, allocations: 7.938 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.5574, allocations: 8 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.5574, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.492e-05/0.5575, allocations: 39.86 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.558, allocations: 440.6 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.042e-05/0.558, allocations: 37.19 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.5581, allocations: 21.84 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.5581, allocations: 4 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.5581, allocations: 30.56 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.5581, allocations: 0 / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001384/0.5583, allocations: 61.47 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.5583, allocations: 81.11 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.5584, allocations: 160.5 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.5584, allocations: 29.7 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.5585, allocations: 108 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.653e-06/0.5585, allocations: 3.906 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.5586, allocations: 13.72 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.5586, allocations: 318.8 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.5587, allocations: 8 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.5587, allocations: 13.72 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.506e-05/0.5587, allocations: 33.66 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5587, allocations: 4 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.311e-05/0.5588, allocations: 57.53 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.5588, allocations: 9.656 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.5589, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.5589, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.802e-05/0.5589, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.5589, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.559, allocations: 15.95 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.559, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 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 6.122e-05/0.559, allocations: 114.4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.5591, allocations: 11.84 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.5591, allocations: 11.88 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.5591, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5591, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.5591, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.5595, allocations: 478.8 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5595, allocations: 3.984 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.5595, allocations: 11.88 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5595, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.5595, allocations: 4 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5595, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5595, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.82e-05/0.5596, allocations: 81.84 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.5597, allocations: 96.94 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.5597, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.838e-05/0.5597, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.5597, allocations: 4 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.5597, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.644e-05/0.5598, allocations: 120.9 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5598, allocations: 4.031 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001726/0.56, allocations: 8 kB / 1.027 GB, free: 11.46 MB / 0.7794 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.0002978/0.5603, allocations: 0.6169 MB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.147e-05/0.5604, allocations: 24.02 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5604, allocations: 0 / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/0.5604, allocations: 7.938 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.5605, allocations: 8 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009928/0.5615, allocations: 1.341 MB / 1.029 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.5617, allocations: 0.6926 MB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.813e-05/0.5618, allocations: 8.516 kB / 1.03 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.5618, allocations: 31.42 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.5618, allocations: 3.938 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05337/0.6152, allocations: 1.361 MB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.6154, allocations: 218.6 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.301, allocations: 0 / 1.031 GB, free: 7.102 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches