Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.From_degF,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degF,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_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.0007492/0.0007492, allocations: 91.84 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.004627/0.004627, allocations: 170 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.237/1.237, 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 10.1.0-maint.10.0.x/package.mo): time 2.35/2.35, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 12 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5105, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degF): time 0.0008471/0.5114, allocations: 0.5899 MB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001072/0.5115, allocations: 55.77 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.5115, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.5116, allocations: 11.88 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.5116, allocations: 11.91 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.844e-05/0.5117, allocations: 20 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.036e-05/0.5118, allocations: 71.83 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.5119, allocations: 49.09 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.507e-05/0.512, allocations: 31.73 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.512, allocations: 23.8 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.512, allocations: 4 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-06/0.5121, allocations: 3.938 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.5121, allocations: 7.938 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.5121, allocations: 65.42 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.966e-05/0.5122, allocations: 89.84 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5122, allocations: 0 / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5122, allocations: 4 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.5122, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 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.0003313/0.5126, allocations: 375.4 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.5126, allocations: 11.97 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.5127, allocations: 46.73 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.5127, allocations: 12.75 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.5129, allocations: 208.3 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.5129, allocations: 8.547 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.5129, allocations: 12.38 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.5131, allocations: 114.6 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.5131, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.5131, allocations: 4 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5131, allocations: 4 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.812e-05/0.5132, allocations: 47.97 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.5137, allocations: 472.3 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.428e-05/0.5137, allocations: 49.22 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.5138, allocations: 33.77 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.5138, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.5138, allocations: 38.5 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.5138, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001543/0.514, allocations: 69.53 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.514, allocations: 77.11 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.5142, allocations: 170.2 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.5142, allocations: 25.7 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.5142, allocations: 119.9 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.5142, allocations: 11.81 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.5143, allocations: 9.719 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.5144, allocations: 326.8 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.5144, allocations: 11.98 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.5144, allocations: 21.72 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.477e-05/0.5145, allocations: 37.66 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5145, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.544e-05/0.5146, allocations: 73.58 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.5146, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.5146, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.5146, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.5147, allocations: 11.94 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.5147, allocations: 3.938 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.524e-05/0.5147, allocations: 7.844 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.5147, allocations: 7.938 kB / 1.026 GB, free: 12.17 MB / 0.7794 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.213e-05/0.5148, allocations: 118.4 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.5148, allocations: 8 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.5149, allocations: 20.53 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.5149, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5149, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.5149, allocations: 224 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.5153, allocations: 0.5081 MB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.5153, allocations: 7.938 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.5153, allocations: 8 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5153, allocations: 3.938 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.5153, allocations: 4 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5153, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5153, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.813e-05/0.5154, allocations: 103.7 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.5155, allocations: 93 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.5155, allocations: 7.938 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.591e-05/0.5155, allocations: 0 / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.5156, allocations: 4 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.5156, allocations: 4.125 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.995e-05/0.5156, allocations: 136.9 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5157, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001805/0.5158, allocations: 8 kB / 1.027 GB, free: 11.02 MB / 0.7794 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.0002996/0.5161, allocations: 0.6498 MB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.216e-05/0.5162, allocations: 31.92 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5162, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.5163, allocations: 12 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.5164, allocations: 10.39 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.5175, allocations: 1.453 MB / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.5177, allocations: 0.7004 MB / 1.03 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.89e-05/0.5177, allocations: 12.81 kB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.5178, allocations: 31.36 kB / 1.03 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.5178, allocations: 4 kB / 1.03 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8455/1.363, allocations: 1.484 MB / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/1.363, allocations: 206.2 kB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/2.842, allocations: 3.938 kB / 1.032 GB, free: 6.344 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degF_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degF.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches