Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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.To_degF,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",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.001675/0.001675, allocations: 108 kB / 15.6 MB, free: 132 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.001965/0.001965, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.329/2.329, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5378/0.5392, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001839/0.541, allocations: 0.8782 MB / 0.9506 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001143/0.5412, allocations: 60.02 kB / 0.9506 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.5412, allocations: 1.438 kB / 0.9506 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/0.5413, allocations: 11.81 kB / 0.9506 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.184e-05/0.5414, allocations: 17.59 kB / 0.9507 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.223e-05/0.5414, allocations: 22.7 kB / 0.9507 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.805e-05/0.5415, allocations: 80.06 kB / 0.9508 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.5416, allocations: 53.05 kB / 0.9508 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.659e-05/0.5417, allocations: 35.11 kB / 0.9508 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.5418, allocations: 38.72 kB / 0.9509 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.5418, allocations: 7.875 kB / 0.9509 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.5418, allocations: 11.34 kB / 0.9509 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.5418, allocations: 19.77 kB / 0.9509 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.5419, allocations: 43.39 kB / 0.951 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.729e-05/0.542, allocations: 90.77 kB / 0.951 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.542, allocations: 5.188 kB / 0.951 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.542, allocations: 0 / 0.951 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.542, allocations: 0 / 0.951 GB, free: 8.094 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003055/0.5423, allocations: 402.4 kB / 0.9514 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.5423, allocations: 8.938 kB / 0.9514 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.641e-05/0.5424, allocations: 41.47 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.5424, allocations: 11.12 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.5426, allocations: 214 kB / 0.9517 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.5426, allocations: 8.438 kB / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.5426, allocations: 9.969 kB / 0.9517 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.5427, allocations: 107.2 kB / 0.9518 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.5427, allocations: 0 / 0.9518 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.5428, allocations: 4 kB / 0.9518 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.5428, allocations: 6.906 kB / 0.9518 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.825e-05/0.5428, allocations: 45.88 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.5433, allocations: 467.6 kB / 0.9523 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.253e-05/0.5433, allocations: 52.08 kB / 0.9524 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.5434, allocations: 31.98 kB / 0.9524 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.5434, allocations: 5.031 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.5434, allocations: 35.75 kB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.5434, allocations: 1.344 kB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001531/0.5436, allocations: 70.78 kB / 0.9525 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.5436, allocations: 82.45 kB / 0.9526 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.5437, allocations: 172.3 kB / 0.9527 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-06/0.5437, allocations: 25.7 kB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.5438, allocations: 118.2 kB / 0.9529 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.5438, allocations: 13.14 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.5438, allocations: 22.47 kB / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.53e-05/0.5438, allocations: 329.9 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.5439, allocations: 7.906 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.5439, allocations: 21.12 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.496e-05/0.5439, allocations: 38.2 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.544, allocations: 1.062 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.292e-05/0.544, allocations: 63.53 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.5441, allocations: 6.312 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5441, allocations: 1.25 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.5441, allocations: 4 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.5441, allocations: 12.56 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.5442, allocations: 1.969 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.5442, allocations: 9.719 kB / 0.9534 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.5442, allocations: 4.75 kB / 0.9534 GB, free: 5.758 MB / 0.7169 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 (6): * Single equations (assignments): 6 * 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.772e-05/0.5443, allocations: 118.8 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.5443, allocations: 12.59 kB / 0.9535 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.5443, allocations: 11.88 kB / 0.9535 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5443, allocations: 5.25 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5443, allocations: 0 / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5444, allocations: 1.25 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.5446, allocations: 0.5067 MB / 0.954 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5447, allocations: 1.031 kB / 0.954 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.5447, allocations: 5.594 kB / 0.954 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5447, allocations: 9.156 kB / 0.954 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.5447, allocations: 2.25 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5447, allocations: 1.125 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5447, allocations: 1.219 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.372e-05/0.5448, allocations: 110.9 kB / 0.9542 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.5448, allocations: 93.62 kB / 0.9542 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.5449, allocations: 5.344 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.889e-05/0.5449, allocations: 1.75 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.5449, allocations: 5.344 kB / 0.9543 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.5449, allocations: 6.609 kB / 0.9543 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.652e-05/0.545, allocations: 126.7 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.545, allocations: 3.938 kB / 0.9544 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001985/0.5452, allocations: 9.031 kB / 0.9544 GB, free: 4.738 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0002099/0.5454, allocations: 0.6474 MB / 0.955 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.772e-05/0.5455, allocations: 36.55 kB / 0.9551 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5455, allocations: 0 / 0.9551 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.5455, allocations: 16.34 kB / 0.9551 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.5457, allocations: 8.469 kB / 0.9551 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/0.5466, allocations: 1.42 MB / 0.9565 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.8e-05/0.5467, allocations: 0.7031 MB / 0.9572 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.726e-05/0.5467, allocations: 5.188 kB / 0.9572 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.5468, allocations: 27.73 kB / 0.9572 GB, free: 2 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5468, allocations: 0 / 0.9572 GB, free: 2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.5615, allocations: 1.678 MB / 0.9588 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.613, allocations: 3.984 kB / 0.9588 GB, free: 1.102 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_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_To_degF.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches