Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000883/0.000883, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008895/0.0008895, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9006/0.9006, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.748/1.748, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.205e-05, allocations: 8.953 kB / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001489/0.001511, allocations: 0.8334 MB / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001278/0.001638, allocations: 59.72 kB / 0.9818 GB, free: 1.66 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.627e-05/0.001725, allocations: 0 / 0.9818 GB, free: 1.66 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.432e-05/0.001759, allocations: 11.86 kB / 0.9819 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.654e-05/0.001846, allocations: 11.81 kB / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.633e-05/0.001892, allocations: 31.97 kB / 0.9819 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.001997, allocations: 79.77 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.002119, allocations: 37.14 kB / 0.982 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.506e-05/0.002214, allocations: 63.81 kB / 0.9821 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.777e-05/0.002251, allocations: 15.92 kB / 0.9821 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.002275, allocations: 8 kB / 0.9821 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.002282, allocations: 8 kB / 0.9821 GB, free: 1.398 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.002302, allocations: 23.91 kB / 0.9821 GB, free: 1.375 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.002329, allocations: 23.92 kB / 0.9821 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.002434, allocations: 103.5 kB / 0.9822 GB, free: 1.25 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002436, allocations: 0 / 0.9822 GB, free: 1.25 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.81e-07/0.002437, allocations: 0 / 0.9822 GB, free: 1.25 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.002441, allocations: 0 / 0.9822 GB, free: 1.25 MB / 0.9323 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.0004536/0.002894, allocations: 326.1 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.002938, allocations: 12.03 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.002971, allocations: 34.75 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.002999, allocations: 16.84 kB / 0.9826 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.003181, allocations: 149.7 kB / 0.9828 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.003194, allocations: 12.56 kB / 0.9828 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.003204, allocations: 8.375 kB / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.003336, allocations: 112 kB / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.003343, allocations: 0 / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.003354, allocations: 4 kB / 0.9829 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.00336, allocations: 8 kB / 0.9829 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.746e-05/0.003427, allocations: 43.92 kB / 0.9829 GB, free: 472 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.003858, allocations: 423.6 kB / 0.9833 GB, free: 0 / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.647e-05/0.003935, allocations: 49.14 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.003971, allocations: 25.78 kB / 0.9834 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.003978, allocations: 0 / 0.9834 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.003998, allocations: 38.56 kB / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.003999, allocations: 0 / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001521/0.004151, allocations: 69.58 kB / 0.9835 GB, free: 15.78 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.004185, allocations: 81.11 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.004299, allocations: 169.2 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.004309, allocations: 25.7 kB / 0.9838 GB, free: 15.47 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.004361, allocations: 112 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.004372, allocations: 19.89 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.0044, allocations: 17.72 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/0.004485, allocations: 326.8 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.004501, allocations: 4 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.004524, allocations: 34.11 kB / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.004567, allocations: 33.72 kB / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004568, allocations: 3.938 kB / 0.9843 GB, free: 14.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.815e-05/0.004637, allocations: 69.67 kB / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.004651, allocations: 6.969 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.004658, allocations: 3.984 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.004669, allocations: 0 / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.004725, allocations: 11.98 kB / 0.9844 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.00473, allocations: 4 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.004749, allocations: 7.891 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.004753, allocations: 4 kB / 0.9844 GB, free: 14.79 MB / 0.948 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.196e-05/0.004815, allocations: 125.8 kB / 0.9845 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.00484, allocations: 11.91 kB / 0.9845 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.00486, allocations: 12.66 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.004863, allocations: 3.984 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.004867, allocations: 0 / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.004871, allocations: 4 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.005167, allocations: 475.5 kB / 0.985 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.005169, allocations: 0 / 0.985 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.005184, allocations: 12.12 kB / 0.985 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.005188, allocations: 4 kB / 0.985 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.005194, allocations: 0 / 0.985 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.005196, allocations: 128 / 0.985 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.0052, allocations: 15.88 kB / 0.985 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.89e-05/0.005269, allocations: 99.61 kB / 0.9851 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.005292, allocations: 11.94 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.005304, allocations: 8 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/0.005318, allocations: 3.938 kB / 0.9852 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.005332, allocations: 11.92 kB / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.005335, allocations: 0 / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.273e-05/0.005408, allocations: 137.5 kB / 0.9853 GB, free: 13.78 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005408, allocations: 0 / 0.9853 GB, free: 13.78 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001371/0.005545, allocations: 8 kB / 0.9853 GB, free: 13.77 MB / 0.948 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.0002571/0.005802, allocations: 0.6345 MB / 0.9859 GB, free: 13.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.637e-05/0.005888, allocations: 35.86 kB / 0.986 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.005891, allocations: 4 kB / 0.986 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/0.005903, allocations: 12.12 kB / 0.986 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.006035, allocations: 12.06 kB / 0.986 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/0.006969, allocations: 1.434 MB / 0.9874 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.888e-05/0.007018, allocations: 84.31 kB / 0.9875 GB, free: 11.39 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.007046, allocations: 4.781 kB / 0.9875 GB, free: 11.39 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.007091, allocations: 36.48 kB / 0.9875 GB, free: 11.35 MB / 0.948 GB Notification: Performance of SimCode: time 7.81e-07/0.007091, allocations: 0 / 0.9875 GB, free: 11.35 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.02126, allocations: 2.353 MB / 0.9898 GB, free: 9.137 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.591/6.613, allocations: 9.453 kB / 0.9898 GB, free: 9.133 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.880652505904436]