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.000747/0.000747, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004204/0.004204, allocations: 171.1 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.328 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.196/2.196, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002963, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/0.5378, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.0007652/0.5386, allocations: 0.5903 MB / 0.9557 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.738e-05/0.5387, allocations: 55.61 kB / 0.9558 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.5388, allocations: 1.375 kB / 0.9558 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.5388, allocations: 11.86 kB / 0.9558 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.58e-05/0.5389, allocations: 5.156 kB / 0.9558 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.931e-05/0.5389, allocations: 20.42 kB / 0.9558 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.27e-05/0.539, allocations: 74.53 kB / 0.9559 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.5391, allocations: 46.33 kB / 0.956 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/0.5392, allocations: 33.27 kB / 0.956 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.5392, allocations: 29.19 kB / 0.956 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.5393, allocations: 6.625 kB / 0.956 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.413e-06/0.5393, allocations: 5.062 kB / 0.956 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.5393, allocations: 10.41 kB / 0.956 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.5393, allocations: 56.64 kB / 0.9561 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.708e-05/0.5394, allocations: 86.2 kB / 0.9562 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5394, allocations: 1.469 kB / 0.9562 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5394, allocations: 0 / 0.9562 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.5394, allocations: 0 / 0.9562 GB, free: 6.926 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.0002689/0.5397, allocations: 383.4 kB / 0.9565 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.5397, allocations: 12.84 kB / 0.9565 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.884e-05/0.5398, allocations: 45.92 kB / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.5398, allocations: 14.91 kB / 0.9566 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.54, allocations: 205.6 kB / 0.9568 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.54, allocations: 8.875 kB / 0.9568 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.54, allocations: 5.75 kB / 0.9568 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.5401, allocations: 112.4 kB / 0.9569 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.5402, allocations: 0 / 0.9569 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.5402, allocations: 5.281 kB / 0.9569 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5402, allocations: 7.188 kB / 0.9569 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.5403, allocations: 40.11 kB / 0.957 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.5407, allocations: 472.5 kB / 0.9574 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.541e-05/0.5407, allocations: 53.45 kB / 0.9575 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.5408, allocations: 30.22 kB / 0.9575 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.5408, allocations: 0 / 0.9575 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.5408, allocations: 40.48 kB / 0.9575 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.5408, allocations: 4 kB / 0.9575 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001519/0.541, allocations: 63.58 kB / 0.9576 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.541, allocations: 78.27 kB / 0.9577 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.5411, allocations: 175.7 kB / 0.9578 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.5411, allocations: 25.7 kB / 0.9579 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.5412, allocations: 112.7 kB / 0.958 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.5412, allocations: 14.81 kB / 0.958 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.5412, allocations: 10.94 kB / 0.958 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.5413, allocations: 329.3 kB / 0.9583 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.5413, allocations: 9.656 kB / 0.9583 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.5413, allocations: 28.36 kB / 0.9584 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.314e-05/0.5414, allocations: 34.59 kB / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5414, allocations: 0 / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.757e-05/0.5415, allocations: 67.66 kB / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.5415, allocations: 6.406 kB / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.5415, allocations: 0 / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.5415, allocations: 5.062 kB / 0.9585 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.5416, allocations: 19.42 kB / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.5416, allocations: 0.9375 kB / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.5416, allocations: 9.75 kB / 0.9585 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.5416, allocations: 6.438 kB / 0.9585 GB, free: 4.602 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.724e-05/0.5417, allocations: 113.7 kB / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.5417, allocations: 8.688 kB / 0.9586 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.5417, allocations: 16.48 kB / 0.9586 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.5417, allocations: 5.453 kB / 0.9586 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.5418, allocations: 4 kB / 0.9586 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5418, allocations: 0.6562 kB / 0.9586 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.542, allocations: 0.4989 MB / 0.9591 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5421, allocations: 1.125 kB / 0.9591 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.5421, allocations: 13.48 kB / 0.9591 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5421, allocations: 10.41 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.5421, allocations: 1 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5421, allocations: 1.188 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5421, allocations: 1.219 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.106e-05/0.5422, allocations: 102.9 kB / 0.9593 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.5422, allocations: 98 kB / 0.9593 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.5423, allocations: 5.281 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.735e-05/0.5423, allocations: 1.219 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.5423, allocations: 2.438 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.5423, allocations: 1.375 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.903e-05/0.5424, allocations: 127.5 kB / 0.9595 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5424, allocations: 3.938 kB / 0.9595 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001896/0.5426, allocations: 8.344 kB / 0.9595 GB, free: 3.594 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.0002124/0.5428, allocations: 0.655 MB / 0.9601 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.049e-05/0.5429, allocations: 33.16 kB / 0.9602 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5429, allocations: 0 / 0.9602 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.699e-05/0.5429, allocations: 15.61 kB / 0.9602 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.5431, allocations: 8.062 kB / 0.9602 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000849/0.5439, allocations: 1.449 MB / 0.9616 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.052e-05/0.544, allocations: 0.7067 MB / 0.9623 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.5441, allocations: 8.672 kB / 0.9623 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.5441, allocations: 24.94 kB / 0.9623 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of SimCode: time 3.9e-07/0.5441, allocations: 0 / 0.9623 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.5611, allocations: 1.496 MB / 0.9638 GB, free: 144 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/0.5613, allocations: 206 kB / 0.964 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.316, allocations: 2.812 kB / 0.964 GB, free: 15.89 MB / 0.7325 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