Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.To_degF,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_10_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.001301/0.001301, allocations: 108 kB / 15.61 MB, free: 152 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.001333/0.001333, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.592/2.592, allocations: 437 MB / 0.7104 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.91 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.5404, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002049/0.5425, allocations: 0.8717 MB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.5426, allocations: 51.72 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.5427, allocations: 4 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.5428, allocations: 15.86 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.561e-05/0.5429, allocations: 7.875 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.226e-05/0.5429, allocations: 23.97 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.543, allocations: 79.78 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.5432, allocations: 57.03 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7e-05/0.5433, allocations: 39.73 kB / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.5433, allocations: 43.77 kB / 1.019 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.5434, allocations: 8 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.5434, allocations: 8 kB / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.5434, allocations: 15.92 kB / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.5435, allocations: 39.75 kB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.5436, allocations: 105.8 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5436, allocations: 0 / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5436, allocations: 0 / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.5436, allocations: 0 / 1.019 GB, free: 1.125 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003964/0.544, allocations: 395.2 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.544, allocations: 12.03 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.5441, allocations: 42.73 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.5441, allocations: 16.83 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.5444, allocations: 214.4 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.5444, allocations: 8.562 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.5444, allocations: 12.38 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.5446, allocations: 108.6 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.5446, allocations: 0 / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.5446, allocations: 4 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5446, allocations: 0 / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.982e-05/0.5447, allocations: 47.98 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.5453, allocations: 468.5 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.59e-05/0.5454, allocations: 61.14 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.5454, allocations: 25.78 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.5454, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.5455, allocations: 46.55 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.5455, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000179/0.5457, allocations: 61.55 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.5457, allocations: 85.3 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.5459, allocations: 170.2 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.5459, allocations: 29.7 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.5459, allocations: 111.9 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/0.546, allocations: 7.844 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.546, allocations: 21.62 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.5461, allocations: 326.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.5461, allocations: 8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.5462, allocations: 29.7 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.5462, allocations: 33.72 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5462, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.539e-05/0.5463, allocations: 69.53 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.5463, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5463, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5464, allocations: 7.984 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.593e-05/0.5464, allocations: 8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.5464, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.897e-05/0.5465, allocations: 11.84 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.5465, allocations: 3.938 kB / 1.021 GB, free: 14.45 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 (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 7.245e-05/0.5466, allocations: 121.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.5466, allocations: 7.906 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.5467, allocations: 16.55 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5467, allocations: 96 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5467, allocations: 7.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5467, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.5471, allocations: 0.4966 MB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.5471, allocations: 4.109 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.5472, allocations: 15.86 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5472, allocations: 3.938 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.5472, allocations: 4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5472, allocations: 256 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5472, allocations: 8 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.981e-05/0.5473, allocations: 107.5 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.5473, allocations: 89 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.5474, allocations: 7.938 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.902e-05/0.5474, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.5474, allocations: 8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.5474, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.838e-05/0.5475, allocations: 125.6 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5475, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002097/0.5478, allocations: 12 kB / 1.022 GB, free: 13.3 MB / 0.7794 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.0003414/0.5481, allocations: 0.6537 MB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.443e-05/0.5482, allocations: 27.94 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5482, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/0.5482, allocations: 19.98 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.5484, allocations: 10.06 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.5496, allocations: 1.421 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.5499, allocations: 0.704 MB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.951e-05/0.5499, allocations: 12.55 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.55, allocations: 31.44 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.55, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.569, allocations: 1.662 MB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.745, allocations: 18.98 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches