Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_latest_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.007517/0.007517, allocations: 101.4 kB / 15.73 MB, free: 6.062 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.002138/0.002138, allocations: 188.7 kB / 16.67 MB, free: 5.973 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 68.42 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3343, allocations: 162.2 MB / 1.241 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001934/0.3363, allocations: 0.8206 MB / 1.242 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001195/0.3364, allocations: 51.72 kB / 1.242 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.3364, allocations: 0 / 1.242 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.125e-05/0.3365, allocations: 11.86 kB / 1.242 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/0.3366, allocations: 11.88 kB / 1.242 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.592e-05/0.3366, allocations: 19.98 kB / 1.242 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.3367, allocations: 63.83 kB / 1.242 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3369, allocations: 47.94 kB / 1.242 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.468e-05/0.3369, allocations: 19.94 kB / 1.242 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.577e-05/0.337, allocations: 35.72 kB / 1.243 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.337, allocations: 8 kB / 1.243 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.3371, allocations: 4 kB / 1.243 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.3371, allocations: 19.88 kB / 1.243 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.3371, allocations: 31.8 kB / 1.243 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.3373, allocations: 79.86 kB / 1.243 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3373, allocations: 0 / 1.243 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3373, allocations: 0 / 1.243 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3373, allocations: 0 / 1.243 GB, free: 8.059 MB / 0.9669 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.0004474/0.3377, allocations: 383.1 kB / 1.243 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3378, allocations: 8.031 kB / 1.243 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.3378, allocations: 42.69 kB / 1.243 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.3379, allocations: 16.84 kB / 1.243 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.3381, allocations: 200.1 kB / 1.243 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3381, allocations: 8.375 kB / 1.243 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.3381, allocations: 4.375 kB / 1.243 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.3383, allocations: 93.77 kB / 1.243 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3383, allocations: 3.938 kB / 1.243 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3383, allocations: 4 kB / 1.243 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3383, allocations: 4 kB / 1.243 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.315e-05/0.3384, allocations: 35.98 kB / 1.243 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.339, allocations: 444.7 kB / 1.244 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.3391, allocations: 33.22 kB / 1.244 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.3391, allocations: 25.81 kB / 1.244 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.3391, allocations: 4 kB / 1.244 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3392, allocations: 30.56 kB / 1.244 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3392, allocations: 0 / 1.244 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001638/0.3393, allocations: 57.52 kB / 1.244 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.3394, allocations: 77.11 kB / 1.244 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3396, allocations: 164.7 kB / 1.244 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.3396, allocations: 25.7 kB / 1.244 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.3397, allocations: 108.1 kB / 1.244 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.3397, allocations: 7.891 kB / 1.244 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.3397, allocations: 17.72 kB / 1.244 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3399, allocations: 314.8 kB / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.3399, allocations: 8 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.3399, allocations: 21.72 kB / 1.245 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.607e-05/0.34, allocations: 33.66 kB / 1.245 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.34, allocations: 0 / 1.245 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.461e-05/0.3401, allocations: 57.59 kB / 1.245 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3401, allocations: 7.938 kB / 1.245 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.3401, allocations: 4 kB / 1.245 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3401, allocations: 7.875 kB / 1.245 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.583e-05/0.3402, allocations: 8 kB / 1.245 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3402, allocations: 4.062 kB / 1.245 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.3402, allocations: 4 kB / 1.245 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.3403, allocations: 0 / 1.245 GB, free: 5.566 MB / 0.9669 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 8.637e-05/0.3403, allocations: 125.8 kB / 1.245 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.3404, allocations: 11.89 kB / 1.245 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.3404, allocations: 7.875 kB / 1.245 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3404, allocations: 0 / 1.245 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3404, allocations: 0 / 1.245 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.3404, allocations: 0 / 1.245 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.3409, allocations: 478.7 kB / 1.245 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3409, allocations: 4 kB / 1.245 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.3409, allocations: 3.984 kB / 1.245 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3409, allocations: 4 kB / 1.245 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.341, allocations: 0 / 1.245 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.341, allocations: 0 / 1.245 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.341, allocations: 0 / 1.245 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.408e-05/0.3411, allocations: 85.98 kB / 1.246 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.3411, allocations: 93.03 kB / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3412, allocations: 0 / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.029e-05/0.3412, allocations: 0 / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.3412, allocations: 4 kB / 1.246 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.3412, allocations: 0 / 1.246 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001012/0.3413, allocations: 125.5 kB / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3413, allocations: 0 / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000202/0.3415, allocations: 15.94 kB / 1.246 GB, free: 4.52 MB / 0.9669 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.0004269/0.342, allocations: 0.6132 MB / 1.246 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.899e-05/0.342, allocations: 20.02 kB / 1.246 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3421, allocations: 0 / 1.246 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.3421, allocations: 11.94 kB / 1.246 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.3422, allocations: 8 kB / 1.246 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3435, allocations: 1.328 MB / 1.248 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.3439, allocations: 0.6924 MB / 1.248 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.224e-05/0.3439, allocations: 12.36 kB / 1.248 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.344, allocations: 23.44 kB / 1.248 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.344, allocations: 0 / 1.248 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.3656, allocations: 1.593 MB / 1.25 GB, free: 208 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/8.026, allocations: 4.062 kB / 1.25 GB, free: 204 kB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches