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.008307/0.008307, allocations: 99.5 kB / 15.73 MB, free: 5.996 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.001879/0.001879, allocations: 199.5 kB / 16.68 MB, free: 5.918 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 68.11 kB / 1.054 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8606/0.8621, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002964/0.8651, allocations: 0.8763 MB / 1.208 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002393/0.8654, allocations: 55.72 kB / 1.208 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.8655, allocations: 4 kB / 1.208 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.191e-05/0.8656, allocations: 11.86 kB / 1.208 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.8657, allocations: 7.875 kB / 1.208 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.449e-05/0.8658, allocations: 23.97 kB / 1.208 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.866, allocations: 87.77 kB / 1.208 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.8662, allocations: 49.09 kB / 1.208 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.8663, allocations: 39.73 kB / 1.208 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.244e-05/0.8664, allocations: 43.77 kB / 1.208 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.8664, allocations: 8 kB / 1.208 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.8664, allocations: 12 kB / 1.208 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.8665, allocations: 15.92 kB / 1.208 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.8665, allocations: 39.75 kB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.8667, allocations: 105.8 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.8667, allocations: 0 / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8667, allocations: 0 / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.8667, allocations: 3.938 kB / 1.209 GB, free: 12.16 MB / 0.9356 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.0005678/0.8673, allocations: 395.3 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.8674, allocations: 12.03 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.8674, allocations: 42.73 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.8675, allocations: 16.75 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.8678, allocations: 208.2 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.8678, allocations: 4.562 kB / 1.209 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.8678, allocations: 16.31 kB / 1.209 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.868, allocations: 107.3 kB / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.868, allocations: 0 / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.868, allocations: 0 / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.8681, allocations: 4 kB / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.937e-05/0.8682, allocations: 51.92 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.8689, allocations: 464.4 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.485e-05/0.8689, allocations: 53.14 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.869, allocations: 29.78 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.869, allocations: 0 / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.8691, allocations: 38.56 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.8691, allocations: 4 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002226/0.8693, allocations: 69.44 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.8694, allocations: 81.36 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.8696, allocations: 171.3 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.8696, allocations: 29.7 kB / 1.21 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.8697, allocations: 112.1 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.8697, allocations: 11.81 kB / 1.21 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.8697, allocations: 21.66 kB / 1.21 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8699, allocations: 326.8 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.8699, allocations: 4 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.8699, allocations: 29.7 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.289e-05/0.87, allocations: 37.66 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.87, allocations: 0 / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001092/0.8701, allocations: 69.53 kB / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.8701, allocations: 5.875 kB / 1.211 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.8701, allocations: 0 / 1.211 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.8702, allocations: 4 kB / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.837e-05/0.8702, allocations: 11.98 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.8703, allocations: 4 kB / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.8703, allocations: 11.84 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.8703, allocations: 7.938 kB / 1.211 GB, free: 9.469 MB / 0.9356 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 8.087e-05/0.8704, allocations: 113.8 kB / 1.211 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.8704, allocations: 7.906 kB / 1.211 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.8705, allocations: 16.55 kB / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8705, allocations: 3.938 kB / 1.211 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8705, allocations: 4.094 kB / 1.211 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.8705, allocations: 3.984 kB / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.8709, allocations: 0.5042 MB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.871, allocations: 4 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.871, allocations: 4 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.361e-06/0.871, allocations: 7.922 kB / 1.212 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.871, allocations: 4 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.871, allocations: 4.125 kB / 1.212 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.871, allocations: 0 / 1.212 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.8711, allocations: 103.5 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.8712, allocations: 92.91 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.8712, allocations: 7.938 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.114e-05/0.8713, allocations: 8 kB / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.8713, allocations: 4 kB / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.8713, allocations: 4.125 kB / 1.212 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.669e-05/0.8714, allocations: 128 kB / 1.212 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8714, allocations: 0 / 1.212 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002092/0.8716, allocations: 8 kB / 1.212 GB, free: 8.32 MB / 0.9356 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.0003815/0.872, allocations: 0.6537 MB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.8721, allocations: 31.94 kB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.8721, allocations: 0 / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.8722, allocations: 19.92 kB / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.8724, allocations: 8 kB / 1.213 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.8736, allocations: 1.418 MB / 1.214 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.8739, allocations: 0.7041 MB / 1.215 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.122e-05/0.8739, allocations: 8.547 kB / 1.215 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.874, allocations: 27.44 kB / 1.215 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of SimCode: time 5.61e-07/0.874, allocations: 0 / 1.215 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.8895, allocations: 1.736 MB / 1.216 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.363/8.252, allocations: 8 kB / 1.216 GB, free: 3.648 MB / 0.9356 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