Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_9_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.008381/0.008381, allocations: 98.42 kB / 15.73 MB, free: 5.602 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.001842/0.001842, allocations: 195.8 kB / 16.68 MB, free: 5.523 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 63.89 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7555/0.757, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001849/0.7589, allocations: 0.8288 MB / 1.088 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001228/0.759, allocations: 45.12 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.7591, allocations: 1.031 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.846e-05/0.7592, allocations: 13.98 kB / 1.088 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/0.7593, allocations: 10.08 kB / 1.088 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.102e-05/0.7593, allocations: 21.25 kB / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.7594, allocations: 63.08 kB / 1.088 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.7596, allocations: 32.53 kB / 1.088 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.235e-05/0.7596, allocations: 26.33 kB / 1.088 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.7597, allocations: 34.83 kB / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.7597, allocations: 10.62 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-06/0.7597, allocations: 5.438 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.7598, allocations: 16.75 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.7598, allocations: 36.3 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.7599, allocations: 70.8 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7599, allocations: 0 / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.76, allocations: 1.125 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.76, allocations: 0 / 1.089 GB, free: 4.52 MB / 0.8575 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.0003623/0.7603, allocations: 384.8 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.7604, allocations: 13.69 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.7604, allocations: 38.8 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.7604, allocations: 9.812 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.7606, allocations: 196.5 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.7606, allocations: 7.312 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.7606, allocations: 4.938 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.7608, allocations: 91.44 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.7608, allocations: 7.875 kB / 1.089 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.7608, allocations: 5.703 kB / 1.089 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.7608, allocations: 5.953 kB / 1.089 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/0.7609, allocations: 35.67 kB / 1.089 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.7613, allocations: 430.8 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/0.7614, allocations: 49.84 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.7614, allocations: 23.55 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.7614, allocations: 1.891 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.7615, allocations: 35.59 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.7615, allocations: 0 / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.7616, allocations: 53.58 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.7617, allocations: 86.27 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.7618, allocations: 158.6 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.7618, allocations: 27.44 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.7618, allocations: 102.5 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-06/0.7619, allocations: 10.77 kB / 1.09 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.7619, allocations: 17.61 kB / 1.09 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.221e-05/0.7619, allocations: 320 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.762, allocations: 8.141 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.762, allocations: 23.06 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.371e-05/0.762, allocations: 28.38 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.762, allocations: 0 / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.117e-05/0.7621, allocations: 57.28 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.7621, allocations: 9.344 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.7621, allocations: 1.156 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.7622, allocations: 5.688 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.7622, allocations: 5.797 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.7622, allocations: 0.7188 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.7623, allocations: 10.73 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.7623, allocations: 9.547 kB / 1.091 GB, free: 2.383 MB / 0.8575 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 4.645e-05/0.7623, allocations: 114 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.7624, allocations: 12.41 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.7624, allocations: 12.89 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7624, allocations: 1 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.7624, allocations: 4 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.7624, allocations: 1.266 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.7627, allocations: 470.9 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.7627, allocations: 1.156 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/0.7627, allocations: 3.922 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.7627, allocations: 0 / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.7627, allocations: 5.922 kB / 1.091 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.7627, allocations: 5.188 kB / 1.091 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7627, allocations: 0 / 1.091 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.903e-05/0.7628, allocations: 81.22 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.7628, allocations: 90.14 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.7629, allocations: 1.719 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.7629, allocations: 1.031 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.7629, allocations: 5.703 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.7629, allocations: 1.094 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.315e-05/0.763, allocations: 123.3 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.763, allocations: 0 / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001902/0.7632, allocations: 10.05 kB / 1.092 GB, free: 1.469 MB / 0.8575 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.0002979/0.7635, allocations: 0.6165 MB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.7636, allocations: 19.69 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7636, allocations: 1.031 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.129e-05/0.7636, allocations: 4.594 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.7638, allocations: 7.219 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.7649, allocations: 1.333 MB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.7652, allocations: 0.6963 MB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.7652, allocations: 8.219 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.7653, allocations: 24.28 kB / 1.094 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.7653, allocations: 4 kB / 1.094 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.7815, allocations: 1.582 MB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.859, allocations: 3.5 kB / 1.096 GB, free: 14.52 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches