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.007735/0.007735, allocations: 95.97 kB / 15.73 MB, free: 6.055 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.001938/0.001938, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.582/2.582, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2529, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001989/0.2549, allocations: 0.8932 MB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001702/0.2551, allocations: 51.78 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.2551, allocations: 0 / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.198e-05/0.2552, allocations: 15.8 kB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.2553, allocations: 11.88 kB / 1.167 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.153e-05/0.2554, allocations: 27.97 kB / 1.167 GB, free: 6.293 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.2555, allocations: 83.77 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.2556, allocations: 49.09 kB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.2557, allocations: 35.86 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.2558, allocations: 43.72 kB / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.2558, allocations: 8 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.2558, allocations: 8 kB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.2559, allocations: 15.94 kB / 1.167 GB, free: 6.051 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.2559, allocations: 43.73 kB / 1.167 GB, free: 6.008 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.2561, allocations: 103.7 kB / 1.168 GB, free: 5.906 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2561, allocations: 0 / 1.168 GB, free: 5.906 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2561, allocations: 0 / 1.168 GB, free: 5.906 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2561, allocations: 0 / 1.168 GB, free: 5.906 MB / 0.92 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.0004151/0.2565, allocations: 407.2 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2565, allocations: 8.031 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.2566, allocations: 38.75 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.2566, allocations: 12.84 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.2569, allocations: 216.3 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.2569, allocations: 8.547 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.2569, allocations: 8.375 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2571, allocations: 109.8 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.2571, allocations: 0 / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2571, allocations: 3.938 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2571, allocations: 11.92 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.035e-05/0.2572, allocations: 47.92 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.2578, allocations: 472.5 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.985e-05/0.2578, allocations: 53.14 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.2579, allocations: 25.78 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.2579, allocations: 0 / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.2579, allocations: 38.56 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.258, allocations: 4 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001814/0.2581, allocations: 65.58 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.2582, allocations: 81.11 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.2584, allocations: 165.7 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2584, allocations: 29.7 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.2584, allocations: 108 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.2585, allocations: 27.81 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.2585, allocations: 21.97 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.2586, allocations: 322.8 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.2586, allocations: 8 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.2587, allocations: 17.72 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.154e-05/0.2587, allocations: 41.7 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2587, allocations: 0 / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001104/0.2588, allocations: 65.58 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2589, allocations: 8 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2589, allocations: 4 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2589, allocations: 0 / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.259, allocations: 8 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.259, allocations: 3.984 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.753e-05/0.259, allocations: 12.11 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2591, allocations: 3.938 kB / 1.17 GB, free: 3.223 MB / 0.92 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.812e-05/0.2591, allocations: 125.7 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.2592, allocations: 11.95 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.2592, allocations: 8.562 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2592, allocations: 8 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2592, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2592, allocations: 4.078 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.2597, allocations: 0.5004 MB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2597, allocations: 3.984 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.2597, allocations: 12.06 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.2597, allocations: 7.938 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.2597, allocations: 0 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2597, allocations: 0 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.2598, allocations: 4 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.2599, allocations: 107.6 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.2599, allocations: 92.95 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.2599, allocations: 3.938 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.487e-05/0.26, allocations: 12.11 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.26, allocations: 7.938 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.26, allocations: 4 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.784e-05/0.2601, allocations: 124.2 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2601, allocations: 0 / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002068/0.2603, allocations: 12 kB / 1.171 GB, free: 2.059 MB / 0.92 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.0003477/0.2607, allocations: 0.646 MB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.571e-05/0.2608, allocations: 35.98 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2608, allocations: 0 / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.936e-05/0.2608, allocations: 11.94 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.261, allocations: 15.98 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.2622, allocations: 1.425 MB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.2625, allocations: 0.7002 MB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.679e-05/0.2625, allocations: 4.562 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.2626, allocations: 35.42 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.2626, allocations: 0 / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.2779, allocations: 1.693 MB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.38, allocations: 15.45 kB / 1.175 GB, free: 13.4 MB / 0.9356 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