Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.007565/0.007565, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001581/0.001582, allocations: 193 kB / 16.67 MB, free: 5.934 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.25/2.25, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7043/0.7056, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001765/0.7075, allocations: 0.8808 MB / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001208/0.7076, allocations: 55.09 kB / 1.088 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.497e-05/0.7077, allocations: 1.781 kB / 1.088 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.7077, allocations: 13.61 kB / 1.088 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.859e-05/0.7078, allocations: 14.17 kB / 1.088 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.854e-05/0.7079, allocations: 22.34 kB / 1.088 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.708, allocations: 84 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.7081, allocations: 58.33 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.7082, allocations: 37.12 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.7082, allocations: 33.02 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.7082, allocations: 7.656 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.7083, allocations: 7.562 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.7083, allocations: 26.25 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.7083, allocations: 39.06 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.7085, allocations: 103.2 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.7085, allocations: 1.031 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.153e-06/0.7085, allocations: 0 / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.7085, allocations: 4 kB / 1.089 GB, free: 4.41 MB / 0.8575 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.0003425/0.7088, allocations: 404.4 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.7089, allocations: 9.5 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.517e-05/0.7089, allocations: 44.39 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.709, allocations: 10.27 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.7091, allocations: 201.9 kB / 1.089 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.7091, allocations: 12.78 kB / 1.089 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.7092, allocations: 10.38 kB / 1.089 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.7093, allocations: 106.4 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.7093, allocations: 0 / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.7094, allocations: 5.125 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.7094, allocations: 3.969 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.37e-05/0.7094, allocations: 39.86 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.7099, allocations: 473.4 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.7099, allocations: 41.58 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.71, allocations: 24.3 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.71, allocations: 1.828 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.71, allocations: 32.52 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.71, allocations: 4 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001448/0.7102, allocations: 57.14 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.7102, allocations: 78.83 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.7103, allocations: 189.4 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-06/0.7103, allocations: 31.05 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.7104, allocations: 112.2 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-06/0.7104, allocations: 1.766 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.7104, allocations: 22.34 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.7105, allocations: 325.4 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.7105, allocations: 3.844 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.763e-05/0.7105, allocations: 19.28 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.7106, allocations: 31.27 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.7106, allocations: 1.094 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.376e-05/0.7107, allocations: 65.64 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.7107, allocations: 5.672 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.7107, allocations: 1.188 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.7107, allocations: 1.188 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.7107, allocations: 5.828 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.7108, allocations: 1.891 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.7108, allocations: 10.02 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.7108, allocations: 1.797 kB / 1.091 GB, free: 2.223 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 4.779e-05/0.7109, allocations: 123.5 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.7109, allocations: 12.83 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.7109, allocations: 9.953 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7109, allocations: 1.656 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.7109, allocations: 0 / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.711, allocations: 5.422 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.7112, allocations: 480.1 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7112, allocations: 0.6875 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.7113, allocations: 7.859 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7113, allocations: 8.562 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.7113, allocations: 0.6562 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7113, allocations: 1.875 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7113, allocations: 0.7188 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.182e-05/0.7114, allocations: 77.67 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.7114, allocations: 103.4 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.7114, allocations: 5.891 kB / 1.092 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.225e-05/0.7115, allocations: 0.7812 kB / 1.092 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.7115, allocations: 2.531 kB / 1.092 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.7115, allocations: 1.281 kB / 1.092 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.142e-05/0.7116, allocations: 133.7 kB / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7116, allocations: 0 / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002011/0.7118, allocations: 8.375 kB / 1.092 GB, free: 1.297 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.0003091/0.7121, allocations: 0.62 MB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.824e-05/0.7122, allocations: 16.67 kB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7122, allocations: 1.125 kB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.7122, allocations: 11.69 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.7124, allocations: 12.2 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.7135, allocations: 1.402 MB / 1.094 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.7137, allocations: 0.7017 MB / 1.095 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.7138, allocations: 12.77 kB / 1.095 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.7138, allocations: 31.33 kB / 1.095 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/0.7138, allocations: 0 / 1.095 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.7295, allocations: 1.734 MB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/7.959, allocations: 4.156 kB / 1.096 GB, free: 14.29 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches