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.001224/0.001224, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.565/2.565, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 62.69 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2517, allocations: 159.1 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002095/0.2538, allocations: 0.8399 MB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001195/0.2539, allocations: 43.78 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.254, allocations: 4 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.254, allocations: 7.875 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.084e-05/0.2541, allocations: 11.86 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.357e-05/0.2542, allocations: 15.98 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.809e-05/0.2543, allocations: 63.84 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.2544, allocations: 43.95 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/0.2545, allocations: 23.88 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.362e-05/0.2545, allocations: 27.84 kB / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2546, allocations: 8 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.2546, allocations: 7.938 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.2546, allocations: 19.92 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.2546, allocations: 31.73 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.2548, allocations: 72 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2548, allocations: 0 / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2548, allocations: 4 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2548, allocations: 0 / 1.065 GB, free: 13.01 MB / 0.8262 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.0004112/0.2552, allocations: 371.3 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2552, allocations: 8.031 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.2553, allocations: 38.75 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.2553, allocations: 16.73 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.2555, allocations: 196.1 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2555, allocations: 4.375 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.2556, allocations: 12.38 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.2557, allocations: 89.2 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.2557, allocations: 7.875 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.2557, allocations: 4 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2558, allocations: 7.938 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.258e-05/0.2558, allocations: 43.91 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.2563, allocations: 432.5 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.2564, allocations: 37.34 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.2565, allocations: 17.78 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.2565, allocations: 0 / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2565, allocations: 38.56 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.2565, allocations: 0 / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001569/0.2567, allocations: 61.47 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.2567, allocations: 77.11 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.2569, allocations: 164.8 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.2569, allocations: 25.7 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.257, allocations: 110.1 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/0.257, allocations: 7.906 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.257, allocations: 17.72 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2571, allocations: 318.8 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.2571, allocations: 7.938 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.2572, allocations: 17.72 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.2572, allocations: 29.7 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2572, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.381e-05/0.2573, allocations: 61.55 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2573, allocations: 7.938 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2573, allocations: 0 / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2574, allocations: 4 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.433e-05/0.2574, allocations: 7.984 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.2574, allocations: 0 / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.2575, allocations: 11.84 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-06/0.2575, allocations: 64 / 1.067 GB, free: 10.54 MB / 0.8262 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.194e-05/0.2576, allocations: 117.8 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.2576, allocations: 11.84 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.2576, allocations: 15.88 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2576, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2576, allocations: 3.984 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.2577, allocations: 7.875 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.258, allocations: 466.8 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2581, allocations: 0 / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/0.2581, allocations: 7.938 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2581, allocations: 0 / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.2581, allocations: 96 / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2581, allocations: 4 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2581, allocations: 3.938 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.562e-05/0.2582, allocations: 89.88 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.2583, allocations: 85.02 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.2583, allocations: 0 / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.2583, allocations: 0 / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.2583, allocations: 7.984 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.2583, allocations: 0 / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.136e-05/0.2584, allocations: 130 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2584, allocations: 0 / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001774/0.2586, allocations: 8 kB / 1.068 GB, free: 9.484 MB / 0.8262 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.0003749/0.259, allocations: 0.617 MB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.353e-05/0.2591, allocations: 23.94 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2591, allocations: 4.156 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-06/0.2591, allocations: 4 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.2592, allocations: 9.094 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2604, allocations: 1.315 MB / 1.07 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.2607, allocations: 0.697 MB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.2607, allocations: 4.438 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.2608, allocations: 27.42 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2608, allocations: 4 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/0.3721, allocations: 1.548 MB / 1.072 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.56, allocations: 12.89 kB / 1.072 GB, free: 5.168 MB / 0.8262 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