Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",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.004168/0.004168, allocations: 100.6 kB / 15.73 MB, free: 6.484 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.001072/0.001072, allocations: 189 kB / 16.68 MB, free: 6.367 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.387/2.387, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 58.88 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2294, allocations: 140.4 MB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001942/0.2314, allocations: 0.8799 MB / 1.088 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001403/0.2315, allocations: 47.78 kB / 1.088 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.2316, allocations: 4 kB / 1.088 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.347e-05/0.2316, allocations: 15.8 kB / 1.088 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.958e-05/0.2317, allocations: 11.88 kB / 1.088 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.696e-05/0.2318, allocations: 23.97 kB / 1.088 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.2319, allocations: 83.72 kB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.2321, allocations: 52.83 kB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.591e-05/0.2321, allocations: 39.86 kB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.2322, allocations: 31.78 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.2322, allocations: 8 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.2322, allocations: 8 kB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.2323, allocations: 23.92 kB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.2323, allocations: 47.61 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.2324, allocations: 95.83 kB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.2324, allocations: 0 / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2325, allocations: 0 / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2325, allocations: 0 / 1.089 GB, free: 0.5859 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.0004032/0.2329, allocations: 403.2 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2329, allocations: 8.031 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.233, allocations: 46.73 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.233, allocations: 16.83 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.2332, allocations: 208.2 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2332, allocations: 8.562 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.2332, allocations: 8.375 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.2334, allocations: 108.4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2334, allocations: 7.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2335, allocations: 4 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2335, allocations: 4 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.2336, allocations: 39.98 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.2341, allocations: 464.5 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.451e-05/0.2341, allocations: 45.16 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.2342, allocations: 17.78 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.2342, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2342, allocations: 38.56 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2342, allocations: 0 / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001615/0.2344, allocations: 61.53 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.2344, allocations: 85.27 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.2346, allocations: 187.1 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.2346, allocations: 29.64 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.2347, allocations: 116 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/0.2347, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.2347, allocations: 21.67 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.2348, allocations: 323.1 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.2349, allocations: 12 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.2349, allocations: 13.72 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.185e-05/0.2349, allocations: 29.7 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2349, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.455e-05/0.235, allocations: 57.59 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.235, allocations: 8.062 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2351, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2351, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.86e-05/0.2351, allocations: 11.98 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.2351, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.2352, allocations: 15.83 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.2352, allocations: 0 / 1.091 GB, free: 13.96 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 (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 prepare postOptimizeDAE: time 6.852e-05/0.2353, allocations: 121.8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.2353, allocations: 7.953 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.2354, allocations: 16.55 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2354, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2354, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.2354, allocations: 3.938 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.2357, allocations: 474.8 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2357, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.2358, allocations: 7.984 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2358, allocations: 3.938 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.2358, allocations: 8.062 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2358, allocations: 3.938 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2358, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.25e-05/0.2359, allocations: 69.95 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.236, allocations: 97 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.236, allocations: 7.938 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.265e-05/0.236, allocations: 7.969 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.236, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.236, allocations: 3.984 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.297e-05/0.2361, allocations: 136.2 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2361, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001963/0.2363, allocations: 8 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0003238/0.2367, allocations: 0.6171 MB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.602e-05/0.2368, allocations: 19.94 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2368, allocations: 0 / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.397e-05/0.2368, allocations: 11.98 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.237, allocations: 8 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.2381, allocations: 1.41 MB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2383, allocations: 0.7002 MB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.399e-05/0.2383, allocations: 8.562 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.2384, allocations: 27.42 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2384, allocations: 0 / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.2534, allocations: 1.732 MB / 1.096 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.064/7.317, allocations: 12.06 kB / 1.096 GB, free: 8.293 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_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_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches