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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001066/0.001065, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001053/0.001053, allocations: 192 kB / 16.14 MB, free: 6.645 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.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.214/2.214, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5524/0.5538, allocations: 140.4 MB / 0.9491 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001791/0.5556, allocations: 0.9335 MB / 0.95 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001034/0.5557, allocations: 55.59 kB / 0.95 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.5558, allocations: 1.156 kB / 0.95 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/0.5558, allocations: 7.922 kB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.443e-05/0.5559, allocations: 4.938 kB / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.062e-05/0.5559, allocations: 25.11 kB / 0.9501 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.662e-05/0.556, allocations: 77.72 kB / 0.9501 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.5562, allocations: 47.61 kB / 0.9502 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.289e-05/0.5562, allocations: 39.05 kB / 0.9502 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.5563, allocations: 37.88 kB / 0.9502 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.5563, allocations: 4.562 kB / 0.9503 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.5563, allocations: 4.812 kB / 0.9503 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.5564, allocations: 15.64 kB / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.5564, allocations: 39.08 kB / 0.9503 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.818e-05/0.5565, allocations: 90.77 kB / 0.9504 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5565, allocations: 0 / 0.9504 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.62e-07/0.5565, allocations: 0 / 0.9504 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.5565, allocations: 4 kB / 0.9504 GB, free: 8.16 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.0003291/0.5568, allocations: 400 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.5569, allocations: 9.594 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.751e-05/0.5569, allocations: 41.55 kB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.5569, allocations: 14.69 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.5571, allocations: 214.2 kB / 0.951 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.5571, allocations: 4.656 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.5571, allocations: 9.781 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.5573, allocations: 110.9 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.5573, allocations: 0 / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.5573, allocations: 5.359 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.5573, allocations: 1.375 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.5574, allocations: 54.03 kB / 0.9512 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.5578, allocations: 471.4 kB / 0.9517 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.5579, allocations: 49.56 kB / 0.9517 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.558, allocations: 28.7 kB / 0.9517 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-06/0.558, allocations: 5.375 kB / 0.9518 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.558, allocations: 35.94 kB / 0.9518 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.558, allocations: 0 / 0.9518 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001577/0.5582, allocations: 67.88 kB / 0.9519 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.5582, allocations: 77.33 kB / 0.9519 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.5583, allocations: 165.9 kB / 0.9521 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.5583, allocations: 35.39 kB / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.5584, allocations: 112.5 kB / 0.9522 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.186e-06/0.5584, allocations: 9.562 kB / 0.9522 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.5584, allocations: 27.7 kB / 0.9523 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.93e-05/0.5584, allocations: 320.5 kB / 0.9526 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.5585, allocations: 12.55 kB / 0.9526 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.176e-05/0.5585, allocations: 21.34 kB / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/0.5586, allocations: 38.75 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5586, allocations: 0 / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.939e-05/0.5586, allocations: 71.95 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.5587, allocations: 4.812 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5587, allocations: 1.688 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.5587, allocations: 0 / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.361e-05/0.5587, allocations: 7.75 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.5588, allocations: 1.594 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.5588, allocations: 11.09 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.5588, allocations: 5.25 kB / 0.9527 GB, free: 5.836 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.919e-05/0.5589, allocations: 121.7 kB / 0.9529 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.5589, allocations: 13.53 kB / 0.9529 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.5589, allocations: 14.86 kB / 0.9529 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5589, allocations: 5.156 kB / 0.9529 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5589, allocations: 1.5 kB / 0.9529 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.559, allocations: 0 / 0.9529 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.5592, allocations: 0.5028 MB / 0.9534 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5593, allocations: 1.594 kB / 0.9534 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.5593, allocations: 9.25 kB / 0.9534 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5593, allocations: 5.438 kB / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.5593, allocations: 1.219 kB / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5593, allocations: 5.094 kB / 0.9534 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5593, allocations: 1.219 kB / 0.9534 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.667e-05/0.5594, allocations: 112 kB / 0.9535 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.5594, allocations: 89.12 kB / 0.9536 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.5595, allocations: 5.469 kB / 0.9536 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.831e-05/0.5595, allocations: 5.594 kB / 0.9536 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.5595, allocations: 5.375 kB / 0.9536 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.5595, allocations: 6.938 kB / 0.9536 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.802e-05/0.5596, allocations: 135.4 kB / 0.9537 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5596, allocations: 0 / 0.9537 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001897/0.5598, allocations: 12.31 kB / 0.9538 GB, free: 4.801 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.0002275/0.56, allocations: 0.6404 MB / 0.9544 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.5601, allocations: 31.89 kB / 0.9544 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5601, allocations: 0 / 0.9544 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-05/0.5601, allocations: 12.59 kB / 0.9544 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.5603, allocations: 9.312 kB / 0.9544 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008994/0.5612, allocations: 1.454 MB / 0.9559 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.235e-05/0.5613, allocations: 0.7 MB / 0.9565 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.5613, allocations: 12.58 kB / 0.9565 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.5614, allocations: 33.02 kB / 0.9566 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.5614, allocations: 0 / 0.9566 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.5868, allocations: 1.544 MB / 0.9581 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001271/0.5869, allocations: 210 kB / 0.9583 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.649, allocations: 1.562 kB / 0.9583 GB, free: 1.027 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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