Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_latest_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.0009031/0.0009031, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005141/0.005141, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.254/1.254, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.489/2.489, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 12.59 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2414, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.0009069/0.2424, allocations: 0.592 MB / 1.059 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001093/0.2425, allocations: 59.72 kB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.2425, allocations: 4 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.2426, allocations: 7.922 kB / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.807e-05/0.2427, allocations: 7.938 kB / 1.059 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.418e-05/0.2427, allocations: 19.98 kB / 1.059 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.854e-05/0.2428, allocations: 71.78 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2429, allocations: 53.08 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.243, allocations: 23.81 kB / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.243, allocations: 27.78 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.2431, allocations: 4 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-06/0.2431, allocations: 3.938 kB / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.2431, allocations: 23.86 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.2431, allocations: 57.39 kB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.858e-05/0.2433, allocations: 95.86 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2433, allocations: 0 / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2433, allocations: 0 / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.2433, allocations: 0 / 1.06 GB, free: 3.82 MB / 0.8106 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.0003337/0.2436, allocations: 375.5 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2437, allocations: 11.97 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.2437, allocations: 46.73 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.2437, allocations: 16.75 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.2439, allocations: 206.7 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2439, allocations: 4.562 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.244, allocations: 8.375 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.2441, allocations: 108.6 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.2441, allocations: 0 / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.2441, allocations: 0 / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2441, allocations: 4 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.607e-05/0.2442, allocations: 47.92 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.2448, allocations: 476.3 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.99e-05/0.2448, allocations: 61.14 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.2449, allocations: 25.78 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.2449, allocations: 0 / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2449, allocations: 34.56 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2449, allocations: 4 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001658/0.2451, allocations: 73.44 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2451, allocations: 77.11 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.2453, allocations: 172 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.2453, allocations: 25.7 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.2454, allocations: 108 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.2454, allocations: 15.75 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.2454, allocations: 13.72 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2455, allocations: 323 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.2456, allocations: 12 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.2456, allocations: 29.64 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.2457, allocations: 29.72 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2457, allocations: 4 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.005e-05/0.2458, allocations: 65.53 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.2458, allocations: 4 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2458, allocations: 4 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.2458, allocations: 0 / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.2459, allocations: 19.98 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2459, allocations: 0 / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.2459, allocations: 11.84 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.2459, allocations: 3.938 kB / 1.062 GB, free: 1.172 MB / 0.8106 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 6.561e-05/0.246, allocations: 113.8 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.246, allocations: 8 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.2461, allocations: 20.53 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2461, allocations: 224 / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2461, allocations: 4 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2461, allocations: 7.938 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.2465, allocations: 0.5042 MB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2465, allocations: 4 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.2465, allocations: 4 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2465, allocations: 7.938 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.2465, allocations: 4.125 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2465, allocations: 3.984 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2466, allocations: 8.062 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.603e-05/0.2466, allocations: 95.61 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.2467, allocations: 97.02 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2467, allocations: 11.92 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.629e-05/0.2468, allocations: 0 / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.2468, allocations: 4 kB / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.2468, allocations: 0 / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.194e-05/0.2469, allocations: 131.9 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2469, allocations: 0 / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001849/0.2471, allocations: 11.91 kB / 1.063 GB, free: 20 kB / 0.8106 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.0003263/0.2474, allocations: 0.6422 MB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.565e-05/0.2475, allocations: 27.94 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2475, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.865e-05/0.2475, allocations: 19.94 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.2477, allocations: 13.02 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.2488, allocations: 1.447 MB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.249, allocations: 0.7082 MB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.2491, allocations: 8.547 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.2491, allocations: 23.44 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2491, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01142/0.2605, allocations: 1.491 MB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.2607, allocations: 206.8 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/1.784, allocations: 1.375 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches