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.00187/0.00187, 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.001967/0.001967, allocations: 193.7 kB / 16.25 MB, free: 6.637 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.635/1.635, allocations: 222.9 MB / 239.9 MB, free: 4.559 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.555/2.555, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.88 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8787/0.8801, allocations: 140.4 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002103/0.8823, allocations: 0.9376 MB / 0.95 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001228/0.8824, allocations: 54.66 kB / 0.9501 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.8825, allocations: 5.312 kB / 0.9501 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.585e-05/0.8826, allocations: 7.922 kB / 0.9501 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.875e-05/0.8827, allocations: 5.312 kB / 0.9501 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.517e-05/0.8827, allocations: 28.05 kB / 0.9501 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.8829, allocations: 75.47 kB / 0.9502 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.883, allocations: 53.7 kB / 0.9502 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.8831, allocations: 38.73 kB / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.8832, allocations: 38.66 kB / 0.9503 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.8832, allocations: 8.25 kB / 0.9503 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.8832, allocations: 10.88 kB / 0.9503 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.8832, allocations: 18.67 kB / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.8833, allocations: 47.92 kB / 0.9504 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.93e-05/0.8834, allocations: 90.7 kB / 0.9505 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8834, allocations: 1 kB / 0.9505 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8834, allocations: 0 / 0.9505 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.8834, allocations: 0 / 0.9505 GB, free: 8.105 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.0004203/0.8838, allocations: 396.4 kB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.8839, allocations: 9.031 kB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.8839, allocations: 19.94 kB / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.8842, allocations: 196.6 kB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.8842, allocations: 8.781 kB / 0.9511 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.8842, allocations: 13.92 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.8844, allocations: 107.5 kB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.8844, allocations: 0 / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.8844, allocations: 1.125 kB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.8844, allocations: 6.578 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.756e-05/0.8845, allocations: 52.62 kB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.885, allocations: 471.3 kB / 0.9517 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.436e-05/0.8851, allocations: 54.45 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.8852, allocations: 28.61 kB / 0.9518 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.8852, allocations: 1.094 kB / 0.9518 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.8852, allocations: 35.56 kB / 0.9518 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.8852, allocations: 0 / 0.9518 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002381/0.8855, allocations: 75.78 kB / 0.9519 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.8855, allocations: 78.67 kB / 0.952 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.8857, allocations: 166 kB / 0.9521 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.8857, allocations: 29.64 kB / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.8858, allocations: 112.8 kB / 0.9523 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.8858, allocations: 10.86 kB / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.8859, allocations: 21.66 kB / 0.9523 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.8859, allocations: 329.5 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.664e-05/0.886, allocations: 8.844 kB / 0.9526 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.886, allocations: 21.59 kB / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.439e-05/0.8861, allocations: 43.61 kB / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8861, allocations: 4 kB / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001012/0.8862, allocations: 67.31 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.8862, allocations: 4.594 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8862, allocations: 1.219 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.8862, allocations: 5.375 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.8863, allocations: 10.94 kB / 0.9528 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.8863, allocations: 0.875 kB / 0.9528 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.8864, allocations: 7 kB / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.8864, allocations: 1.25 kB / 0.9528 GB, free: 5.832 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 9.007e-05/0.8865, allocations: 126 kB / 0.9529 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.8865, allocations: 13.44 kB / 0.9529 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.8866, allocations: 11.34 kB / 0.9529 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.8866, allocations: 1.375 kB / 0.9529 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8866, allocations: 4 kB / 0.9529 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8866, allocations: 1.406 kB / 0.9529 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.887, allocations: 0.5023 MB / 0.9534 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.887, allocations: 1 kB / 0.9534 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.887, allocations: 6 kB / 0.9534 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.887, allocations: 5.531 kB / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.887, allocations: 5.5 kB / 0.9534 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.887, allocations: 1.094 kB / 0.9534 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.887, allocations: 1.219 kB / 0.9534 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.985e-05/0.8871, allocations: 107.3 kB / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.8872, allocations: 97.38 kB / 0.9536 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.8872, allocations: 5.5 kB / 0.9536 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.867e-05/0.8873, allocations: 1.406 kB / 0.9536 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.8873, allocations: 11.36 kB / 0.9536 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.8873, allocations: 1.219 kB / 0.9536 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.356e-05/0.8874, allocations: 130.7 kB / 0.9538 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8874, allocations: 1.25 kB / 0.9538 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002267/0.8876, allocations: 12.53 kB / 0.9538 GB, free: 4.805 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.0001492/0.8878, allocations: 104.3 kB / 0.9539 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.8879, allocations: 37.11 kB / 0.9539 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8879, allocations: 0 / 0.9539 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.888, allocations: 11.72 kB / 0.9539 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.8882, allocations: 10.53 kB / 0.9539 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.8885, allocations: 244.5 kB / 0.9542 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.8887, allocations: 0.7029 MB / 0.9549 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4e-05/0.8887, allocations: 8.422 kB / 0.9549 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.8888, allocations: 12.56 kB / 0.9549 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8888, allocations: 0 / 0.9549 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of Templates: time 0.002528/0.8913, allocations: 0.5034 MB / 0.9554 GB, free: 3.473 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