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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00115/0.00115, allocations: 104 kB / 15.61 MB, free: 148 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.001148/0.001148, allocations: 195.5 kB / 16.53 MB, free: 6.684 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.5362, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001754/0.538, allocations: 0.8609 MB / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000112/0.5381, allocations: 62.86 kB / 0.9506 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.5382, allocations: 1.594 kB / 0.9506 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.5382, allocations: 7.875 kB / 0.9506 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.5383, allocations: 17.16 kB / 0.9507 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.254e-05/0.5384, allocations: 28.2 kB / 0.9507 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.35e-05/0.5385, allocations: 76 kB / 0.9508 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.5386, allocations: 53.2 kB / 0.9508 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.578e-05/0.5387, allocations: 42.61 kB / 0.9508 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.5387, allocations: 35.06 kB / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.5387, allocations: 7.406 kB / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.5387, allocations: 11.31 kB / 0.9509 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.5388, allocations: 19.62 kB / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.5388, allocations: 47.25 kB / 0.951 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.467e-05/0.5389, allocations: 91.02 kB / 0.951 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5389, allocations: 1.188 kB / 0.951 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5389, allocations: 0 / 0.951 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.5389, allocations: 0 / 0.951 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.0003187/0.5392, allocations: 400.6 kB / 0.9514 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.5393, allocations: 13.19 kB / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.5393, allocations: 45.31 kB / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.5394, allocations: 10.94 kB / 0.9515 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.5395, allocations: 210.2 kB / 0.9517 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.5395, allocations: 11.58 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.5395, allocations: 15.53 kB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.5397, allocations: 102.3 kB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.5397, allocations: 0 / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.5397, allocations: 5.062 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.5397, allocations: 6.688 kB / 0.9518 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.516e-05/0.5398, allocations: 45.47 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.5402, allocations: 463.7 kB / 0.9523 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.5403, allocations: 51.06 kB / 0.9524 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.5403, allocations: 34.23 kB / 0.9524 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.5403, allocations: 0 / 0.9524 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.5404, allocations: 40.72 kB / 0.9524 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.5404, allocations: 4.219 kB / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001457/0.5405, allocations: 63.78 kB / 0.9525 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.5405, allocations: 88.98 kB / 0.9526 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.5406, allocations: 168.7 kB / 0.9527 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.5407, allocations: 26.89 kB / 0.9528 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.5407, allocations: 116.2 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-06/0.5407, allocations: 9.734 kB / 0.9529 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.5407, allocations: 23.84 kB / 0.9529 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.424e-05/0.5408, allocations: 328.1 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.5408, allocations: 9.906 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.5408, allocations: 19.97 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.5409, allocations: 35.23 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.5409, allocations: 0 / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.82e-05/0.541, allocations: 71.56 kB / 0.9534 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.541, allocations: 6.25 kB / 0.9534 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.541, allocations: 4 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.541, allocations: 1.25 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.5411, allocations: 8.781 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-06/0.5411, allocations: 0 / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.5411, allocations: 19.48 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.5411, allocations: 7.922 kB / 0.9534 GB, free: 5.812 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.549e-05/0.5412, allocations: 114.2 kB / 0.9535 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.5412, allocations: 12.56 kB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.5412, allocations: 12.16 kB / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.5412, allocations: 5.125 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.5413, allocations: 1.156 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5413, allocations: 0 / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.5415, allocations: 0.503 MB / 0.954 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5415, allocations: 1 kB / 0.954 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.5416, allocations: 5.75 kB / 0.954 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5416, allocations: 10 kB / 0.954 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.5416, allocations: 5.062 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5416, allocations: 1.156 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5416, allocations: 1.312 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.293e-05/0.5417, allocations: 111 kB / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.5417, allocations: 93.12 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.5417, allocations: 6.75 kB / 0.9543 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.748e-05/0.5418, allocations: 1.625 kB / 0.9543 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.5418, allocations: 9.359 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.5418, allocations: 2.5 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.167e-05/0.5419, allocations: 125.5 kB / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5419, allocations: 1.219 kB / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001862/0.5421, allocations: 8.969 kB / 0.9544 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.000202/0.5423, allocations: 0.6461 MB / 0.955 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.224e-05/0.5424, allocations: 36.48 kB / 0.9551 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5424, allocations: 0 / 0.9551 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.611e-05/0.5424, allocations: 11.69 kB / 0.9551 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.5425, allocations: 8.094 kB / 0.9551 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008324/0.5434, allocations: 1.424 MB / 0.9565 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.877e-05/0.5435, allocations: 0.7034 MB / 0.9572 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.5435, allocations: 6.094 kB / 0.9572 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.5436, allocations: 27.7 kB / 0.9572 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5436, allocations: 0 / 0.9572 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.5584, allocations: 1.682 MB / 0.9588 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.474/9.032, allocations: 14.78 kB / 0.9589 GB, free: 1.164 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