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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_9_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.004/0.004, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001056/0.001056, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.3/2.3, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.52 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2173, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001825/0.2191, allocations: 0.8798 MB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001354/0.2193, allocations: 51.77 kB / 1.088 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.2194, allocations: 4 kB / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.2194, allocations: 11.81 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.573e-05/0.2195, allocations: 15.86 kB / 1.088 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.279e-05/0.2196, allocations: 23.97 kB / 1.088 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2197, allocations: 83.78 kB / 1.089 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.2198, allocations: 60.81 kB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.158e-05/0.2199, allocations: 35.8 kB / 1.089 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.22, allocations: 39.78 kB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.22, allocations: 11.94 kB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.22, allocations: 12 kB / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.22, allocations: 11.94 kB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.2201, allocations: 47.67 kB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.2202, allocations: 99.81 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2202, allocations: 0 / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2202, allocations: 0 / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2202, allocations: 0 / 1.089 GB, free: 0.6289 MB / 0.8419 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.0003848/0.2206, allocations: 401.1 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2207, allocations: 12.03 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.2207, allocations: 50.62 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.2207, allocations: 12.88 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.2209, allocations: 212.2 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.221, allocations: 4.562 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.221, allocations: 12.38 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.2211, allocations: 108.4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2212, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.2212, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2212, allocations: 7.984 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.625e-05/0.2213, allocations: 47.98 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.2218, allocations: 468.5 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.084e-05/0.2218, allocations: 49.2 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.2219, allocations: 29.78 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.2219, allocations: 0 / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.2219, allocations: 42.5 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2219, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000168/0.2221, allocations: 65.8 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.2222, allocations: 81.36 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.2223, allocations: 167.3 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.2223, allocations: 33.7 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.2224, allocations: 108 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.2224, allocations: 15.89 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.2224, allocations: 21.72 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.2225, allocations: 322.8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.2226, allocations: 4 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.2226, allocations: 25.72 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.2226, allocations: 41.64 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2227, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.104e-05/0.2227, allocations: 69.59 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.2228, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2228, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.2228, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.2229, allocations: 11.94 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2229, allocations: 3.984 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.2229, allocations: 12.06 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.2229, allocations: 11.92 kB / 1.091 GB, free: 13.94 MB / 0.8575 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.927e-05/0.223, allocations: 117.8 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.2231, allocations: 11.91 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.2231, allocations: 12.56 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2231, allocations: 96 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2231, allocations: 7.984 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2231, allocations: 3.984 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.2235, allocations: 0.5043 MB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2235, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.947e-05/0.2235, allocations: 7.938 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2236, allocations: 3.938 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2236, allocations: 4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2236, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2236, allocations: 4.125 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.801e-05/0.2237, allocations: 111.5 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.2237, allocations: 85.06 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.2238, allocations: 7.938 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.234e-05/0.2238, allocations: 8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.2238, allocations: 7.984 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.2238, allocations: 3.938 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.246e-05/0.2239, allocations: 128.9 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2239, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002016/0.2241, allocations: 15.95 kB / 1.092 GB, free: 12.78 MB / 0.8575 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.0003221/0.2245, allocations: 0.646 MB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.686e-05/0.2246, allocations: 31.92 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2246, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.877e-05/0.2246, allocations: 12.19 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.2248, allocations: 11.98 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2259, allocations: 1.416 MB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.2261, allocations: 0.7002 MB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.2261, allocations: 8.562 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.2262, allocations: 31.42 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.2262, allocations: 0 / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.2414, allocations: 1.7 MB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.082/7.324, allocations: 10.45 kB / 1.097 GB, free: 8.148 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/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