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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") 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: 111.3 kB / 15.23 MB, free: 0.6602 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.001362/0.001363, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.5/2.5, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8585/0.8597, allocations: 140.4 MB / 0.9489 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002553/0.8623, allocations: 0.9331 MB / 0.9498 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001181/0.8624, allocations: 51.97 kB / 0.9499 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.8625, allocations: 1.375 kB / 0.9499 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.862e-05/0.8626, allocations: 7.922 kB / 0.9499 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.8627, allocations: 9.312 kB / 0.9499 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.041e-05/0.8627, allocations: 20.11 kB / 0.9499 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.8629, allocations: 74.03 kB / 0.95 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.8631, allocations: 58.88 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.781e-05/0.8631, allocations: 38.73 kB / 0.9501 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.8632, allocations: 34.67 kB / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.8632, allocations: 4.125 kB / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.8632, allocations: 5.5 kB / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.8633, allocations: 18.67 kB / 0.9501 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.8633, allocations: 39.98 kB / 0.9502 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.8634, allocations: 86.14 kB / 0.9503 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.8635, allocations: 3.984 kB / 0.9503 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8635, allocations: 0 / 0.9503 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.8635, allocations: 0 / 0.9503 GB, free: 8.242 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.0004435/0.8639, allocations: 401 kB / 0.9506 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.864, allocations: 10.59 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.864, allocations: 13.88 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.8642, allocations: 206.4 kB / 0.9509 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.8643, allocations: 7.875 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.8643, allocations: 11.69 kB / 0.9509 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.8645, allocations: 110.6 kB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.8645, allocations: 1.344 kB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.8645, allocations: 9.281 kB / 0.951 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.8645, allocations: 2.719 kB / 0.951 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.854e-05/0.8646, allocations: 44.33 kB / 0.951 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.8652, allocations: 471.2 kB / 0.9515 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.454e-05/0.8653, allocations: 57.34 kB / 0.9515 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.8654, allocations: 25.44 kB / 0.9516 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.8654, allocations: 1.531 kB / 0.9516 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.8654, allocations: 40.09 kB / 0.9516 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.8654, allocations: 0 / 0.9516 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002044/0.8656, allocations: 66.88 kB / 0.9517 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.8657, allocations: 78.48 kB / 0.9517 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.8658, allocations: 169.4 kB / 0.9519 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.8658, allocations: 31.83 kB / 0.9519 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.8659, allocations: 107.6 kB / 0.952 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.8659, allocations: 19.34 kB / 0.9521 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.866, allocations: 24.69 kB / 0.9521 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.866, allocations: 326.1 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.369e-05/0.8661, allocations: 9.25 kB / 0.9524 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.8661, allocations: 28.89 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.8661, allocations: 30.41 kB / 0.9525 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8661, allocations: 0 / 0.9525 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.082e-05/0.8662, allocations: 67.78 kB / 0.9525 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.8663, allocations: 10.31 kB / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8663, allocations: 3.984 kB / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.8663, allocations: 0 / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.8664, allocations: 12.92 kB / 0.9525 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8664, allocations: 0 / 0.9525 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.8664, allocations: 6.562 kB / 0.9526 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.8664, allocations: 5.344 kB / 0.9526 GB, free: 5.961 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 6.674e-05/0.8665, allocations: 118.7 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.8666, allocations: 16.62 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.8666, allocations: 20.3 kB / 0.9527 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.8666, allocations: 0 / 0.9527 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8666, allocations: 1.438 kB / 0.9527 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8666, allocations: 1.594 kB / 0.9527 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.867, allocations: 0.4938 MB / 0.9532 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.867, allocations: 1.531 kB / 0.9532 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.867, allocations: 9.625 kB / 0.9532 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.867, allocations: 5.188 kB / 0.9532 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.867, allocations: 17.5 kB / 0.9532 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.867, allocations: 1.312 kB / 0.9532 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.867, allocations: 1.312 kB / 0.9532 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.094e-05/0.8671, allocations: 107.8 kB / 0.9533 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.8672, allocations: 85.52 kB / 0.9534 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.8672, allocations: 13.2 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.75e-05/0.8672, allocations: 1.094 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.8673, allocations: 5.844 kB / 0.9534 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.8673, allocations: 2.125 kB / 0.9534 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.114e-05/0.8674, allocations: 131.9 kB / 0.9536 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.583e-06/0.8674, allocations: 0 / 0.9536 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001918/0.8676, allocations: 17.03 kB / 0.9536 GB, free: 4.93 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.0001251/0.8677, allocations: 101.2 kB / 0.9537 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.8678, allocations: 31.55 kB / 0.9537 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8678, allocations: 1.219 kB / 0.9537 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-05/0.8678, allocations: 7.562 kB / 0.9537 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.868, allocations: 18.02 kB / 0.9537 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.8684, allocations: 241.5 kB / 0.954 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.8685, allocations: 0.6992 MB / 0.9546 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.138e-05/0.8685, allocations: 10.33 kB / 0.9547 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.8686, allocations: 11.41 kB / 0.9547 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8686, allocations: 0 / 0.9547 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of Templates: time 0.00264/0.8712, allocations: 490.2 kB / 0.9551 GB, free: 3.625 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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