Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_10_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.001257/0.001257, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001295/0.001295, allocations: 191.8 kB / 16.25 MB, free: 6.625 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.298/1.298, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.463/2.463, allocations: 437 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.91 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5605/0.5618, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002019/0.5639, allocations: 0.8937 MB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001196/0.564, allocations: 43.78 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.5641, allocations: 0 / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.81e-05/0.5641, allocations: 3.938 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.793e-05/0.5642, allocations: 3.938 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.512e-05/0.5642, allocations: 19.98 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.5643, allocations: 59.84 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.5645, allocations: 47.94 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.5645, allocations: 27.86 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.5646, allocations: 27.8 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.5646, allocations: 12 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.5646, allocations: 4 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.5646, allocations: 19.92 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.5647, allocations: 31.81 kB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.52e-05/0.5648, allocations: 69.95 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5648, allocations: 0 / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5648, allocations: 0 / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.5648, allocations: 3.984 kB / 1.018 GB, free: 1.406 MB / 0.7637 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.0003893/0.5652, allocations: 387.1 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.5652, allocations: 8.031 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.5653, allocations: 46.73 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.5653, allocations: 8.844 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.5655, allocations: 192.2 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.5655, allocations: 4.375 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.5655, allocations: 8.375 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.5657, allocations: 93.89 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.5657, allocations: 3.938 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.5657, allocations: 3.984 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5657, allocations: 8 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.945e-05/0.5658, allocations: 43.86 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.5663, allocations: 428.6 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.227e-05/0.5664, allocations: 45.39 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.5664, allocations: 17.78 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.5664, allocations: 4 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.5664, allocations: 34.55 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5664, allocations: 0 / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001568/0.5666, allocations: 57.7 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.5666, allocations: 81.11 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.5668, allocations: 164.4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.5668, allocations: 29.7 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.5669, allocations: 104 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.5669, allocations: 7.844 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.5669, allocations: 17.72 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.567, allocations: 318.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.567, allocations: 8.031 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.5671, allocations: 21.7 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.5671, allocations: 29.72 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5671, allocations: 4 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.77e-05/0.5672, allocations: 53.55 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5672, allocations: 7.938 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5672, allocations: 8.062 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.5673, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.5673, allocations: 7.984 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.5673, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.5674, allocations: 7.906 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.5674, allocations: 0 / 1.02 GB, free: 14.91 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.573e-05/0.5674, allocations: 114.4 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.5675, allocations: 11.84 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.5675, allocations: 23.73 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5675, allocations: 4 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5675, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5675, allocations: 4 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.5679, allocations: 466.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5679, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.568, allocations: 3.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.568, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.568, allocations: 4.062 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.568, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.568, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.937e-05/0.5681, allocations: 77.83 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.5681, allocations: 92.95 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.5681, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.193e-05/0.5682, allocations: 8.016 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.5682, allocations: 11.97 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.5682, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.519e-05/0.5683, allocations: 120.7 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5683, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001824/0.5685, allocations: 8 kB / 1.021 GB, free: 13.86 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.0003259/0.5688, allocations: 0.6171 MB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.303e-05/0.5689, allocations: 15.94 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5689, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.598e-06/0.5689, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.5691, allocations: 9.375 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.5701, allocations: 1.351 MB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.5704, allocations: 0.6963 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.098e-05/0.5704, allocations: 8.422 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.5704, allocations: 23.44 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5705, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01037/0.5808, allocations: 1.471 MB / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.581, allocations: 213.3 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.104, allocations: 0 / 1.026 GB, free: 9.379 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches