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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001611/0.001611, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001957/0.001957, allocations: 187.7 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.023/2.023, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.358/4.358, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 68.14 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3357, allocations: 157.4 MB / 1.052 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002148/0.3379, allocations: 0.9424 MB / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000144/0.338, allocations: 51.77 kB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.3381, allocations: 0 / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.226e-05/0.3382, allocations: 11.94 kB / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.564e-05/0.3383, allocations: 15.91 kB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.875e-05/0.3383, allocations: 19.98 kB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.3384, allocations: 79.78 kB / 1.054 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3386, allocations: 49.09 kB / 1.054 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.41e-05/0.3387, allocations: 43.73 kB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.3387, allocations: 31.78 kB / 1.054 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.3388, allocations: 8 kB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.3388, allocations: 8 kB / 1.054 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.3388, allocations: 23.92 kB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.3389, allocations: 47.67 kB / 1.054 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.339, allocations: 95.89 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.339, allocations: 0 / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.472e-06/0.339, allocations: 0 / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.339, allocations: 4 kB / 1.054 GB, free: 7.285 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.000421/0.3394, allocations: 395.3 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3395, allocations: 8.625 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.3395, allocations: 46.73 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.3396, allocations: 16.75 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.3398, allocations: 210.7 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3398, allocations: 8.562 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.3398, allocations: 8.375 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.34, allocations: 107.2 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.34, allocations: 0 / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.34, allocations: 4 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3401, allocations: 4 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.462e-05/0.3401, allocations: 39.98 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.3407, allocations: 476.3 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.967e-05/0.3408, allocations: 53.14 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.3408, allocations: 33.78 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.3409, allocations: 0 / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3409, allocations: 34.55 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3409, allocations: 3.938 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001795/0.3411, allocations: 61.61 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3411, allocations: 89.3 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3413, allocations: 172 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.3413, allocations: 25.7 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.3414, allocations: 115.9 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.3414, allocations: 15.75 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.3414, allocations: 17.72 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.3415, allocations: 326.8 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.3415, allocations: 8 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.8e-05/0.3416, allocations: 29.7 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.196e-05/0.3416, allocations: 33.7 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3416, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.805e-05/0.3417, allocations: 73.53 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3418, allocations: 4.938 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3418, allocations: 0 / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3418, allocations: 0 / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.3419, allocations: 11.98 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3419, allocations: 4 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.3419, allocations: 7.906 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.3419, allocations: 11.88 kB / 1.056 GB, free: 4.602 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 7.47e-05/0.342, allocations: 113.8 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.3421, allocations: 7.906 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.3421, allocations: 16.55 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3421, allocations: 224 / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3421, allocations: 0 / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.3421, allocations: 3.938 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.3425, allocations: 0.5081 MB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3425, allocations: 3.938 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.3426, allocations: 11.98 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3426, allocations: 3.938 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3426, allocations: 8.125 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3426, allocations: 4 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3426, allocations: 4.125 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.46e-05/0.3427, allocations: 99.55 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.3428, allocations: 93 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.3428, allocations: 3.938 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.828e-05/0.3428, allocations: 8 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.3428, allocations: 0 / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3428, allocations: 4 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.429e-05/0.3429, allocations: 128 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3429, allocations: 0 / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002027/0.3431, allocations: 8 kB / 1.057 GB, free: 3.461 MB / 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.0003383/0.3435, allocations: 0.6464 MB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.296e-05/0.3436, allocations: 27.94 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3436, allocations: 3.938 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.3436, allocations: 20.11 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.3438, allocations: 12 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.345, allocations: 1.45 MB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.3452, allocations: 0.7001 MB / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.362e-05/0.3452, allocations: 16.55 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.3453, allocations: 23.44 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3453, allocations: 0 / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.195/1.54, allocations: 1.6 MB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/1.541, allocations: 215.3 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.497/5.038, allocations: 0.875 kB / 1.062 GB, free: 14.67 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