Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_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.0008702/0.0008702, allocations: 91.84 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.00525/0.00525, allocations: 170 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.233/1.233, 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.363/2.363, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003086, allocations: 8 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5273/0.5277, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.0008597/0.5286, allocations: 0.5393 MB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.499e-05/0.5287, allocations: 43.78 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.5287, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.5288, allocations: 7.922 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.5288, allocations: 4 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.15e-05/0.5289, allocations: 19.98 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.164e-05/0.529, allocations: 63.78 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.5291, allocations: 39.95 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.284e-05/0.5292, allocations: 11.88 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.5292, allocations: 19.86 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.5292, allocations: 8 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.583e-06/0.5292, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.5293, allocations: 15.92 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.5293, allocations: 57.38 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.849e-05/0.5294, allocations: 62.02 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5294, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5294, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.5294, allocations: 0 / 1.024 GB, free: 14.99 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.0003186/0.5297, allocations: 367.2 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.5298, allocations: 12.03 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.5298, allocations: 42.73 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.5298, allocations: 8.844 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.53, allocations: 196.2 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.53, allocations: 384 / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.5301, allocations: 12.38 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.5302, allocations: 93.91 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5302, allocations: 3.938 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.5302, allocations: 4 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5302, allocations: 11.94 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.5303, allocations: 43.92 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.5307, allocations: 428.6 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.607e-05/0.5308, allocations: 41.19 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.5308, allocations: 25.83 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-06/0.5309, allocations: 3.938 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.5309, allocations: 30.56 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.5309, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001421/0.531, allocations: 57.67 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.5311, allocations: 85.11 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.5312, allocations: 161.3 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.5312, allocations: 25.7 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.5313, allocations: 108 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-06/0.5313, allocations: 3.906 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.5313, allocations: 9.719 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.5314, allocations: 322.8 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.5314, allocations: 12.06 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.168e-05/0.5315, allocations: 17.7 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.5315, allocations: 29.66 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5315, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.928e-05/0.5316, allocations: 61.53 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.5316, allocations: 7.938 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5316, allocations: 4.062 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.5316, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.5317, allocations: 8 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.5317, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.5317, allocations: 3.906 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.5317, allocations: 4 kB / 1.026 GB, free: 12.52 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.171e-05/0.5318, allocations: 113.8 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.5319, allocations: 11.84 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.5319, allocations: 11.86 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5319, allocations: 8 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5319, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.5319, allocations: 96 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.5322, allocations: 470.8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5322, allocations: 7.922 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.5323, allocations: 4 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5323, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.5323, allocations: 64 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5323, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5323, allocations: 7.938 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.927e-05/0.5324, allocations: 77.83 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.5324, allocations: 96.94 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.5324, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.922e-05/0.5325, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-06/0.5325, allocations: 4.031 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.5325, allocations: 4 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.481e-05/0.5326, allocations: 123.2 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5326, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001767/0.5328, allocations: 4 kB / 1.027 GB, free: 11.47 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.0002943/0.5331, allocations: 0.6248 MB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6e-05/0.5331, allocations: 16 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5331, allocations: 3.938 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.5331, allocations: 4 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.5333, allocations: 11.91 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009467/0.5342, allocations: 1.342 MB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.5344, allocations: 0.6965 MB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.5345, allocations: 8.422 kB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.5345, allocations: 31.31 kB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of SimCode: time 4.1e-07/0.5345, allocations: 0 / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.5624, allocations: 1.357 MB / 1.031 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.5627, allocations: 221 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/2.094, allocations: 2.531 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches