Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_10_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.007348/0.007348, allocations: 96.94 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.002106/0.002106, allocations: 191.7 kB / 16.67 MB, free: 6.391 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.821/1.821, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.782/2.782, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0032/0.0032, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2959, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001969/0.2979, allocations: 0.8723 MB / 1.167 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001432/0.298, allocations: 63.64 kB / 1.167 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.2981, allocations: 4 kB / 1.167 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.147e-05/0.2981, allocations: 7.875 kB / 1.167 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.2982, allocations: 11.86 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.634e-05/0.2983, allocations: 27.97 kB / 1.167 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.2984, allocations: 79.77 kB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.2986, allocations: 49.11 kB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.2986, allocations: 35.8 kB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.2987, allocations: 35.78 kB / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.2987, allocations: 8 kB / 1.167 GB, free: 6.113 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.2988, allocations: 11.94 kB / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.2988, allocations: 19.92 kB / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.2988, allocations: 43.73 kB / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.299, allocations: 95.77 kB / 1.168 GB, free: 5.945 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.299, allocations: 3.938 kB / 1.168 GB, free: 5.941 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.143e-06/0.299, allocations: 4 kB / 1.168 GB, free: 5.938 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.299, allocations: 0 / 1.168 GB, free: 5.938 MB / 0.92 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.0004823/0.2995, allocations: 403.2 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2996, allocations: 8.031 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.2996, allocations: 38.75 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.2996, allocations: 12.84 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.2999, allocations: 212.3 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.2999, allocations: 4.562 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.2999, allocations: 12.31 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3001, allocations: 107.3 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3001, allocations: 0 / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3001, allocations: 0 / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3002, allocations: 4 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.639e-05/0.3003, allocations: 47.97 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.3009, allocations: 468.4 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.523e-05/0.3009, allocations: 37.22 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.864e-05/0.301, allocations: 21.72 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.301, allocations: 0 / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.301, allocations: 38.55 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.301, allocations: 0 / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001657/0.3012, allocations: 57.55 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.3013, allocations: 77.11 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.3015, allocations: 186.6 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3015, allocations: 25.7 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.3016, allocations: 116 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.3016, allocations: 11.94 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.3016, allocations: 13.72 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3018, allocations: 331 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.3018, allocations: 4 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.3018, allocations: 25.69 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.3019, allocations: 33.66 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3019, allocations: 0 / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001088/0.302, allocations: 61.62 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.302, allocations: 11.94 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.302, allocations: 0 / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.3021, allocations: 0 / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.296e-05/0.3021, allocations: 8 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3021, allocations: 0 / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/0.3022, allocations: 11.88 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.3022, allocations: 4 kB / 1.17 GB, free: 3.316 MB / 0.92 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 8.416e-05/0.3023, allocations: 113.8 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.3023, allocations: 15.94 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.3023, allocations: 16.55 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3023, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.3024, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.3024, allocations: 8.156 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.3028, allocations: 470.8 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3028, allocations: 3.938 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.3029, allocations: 4 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3029, allocations: 8 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.3029, allocations: 0 / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3029, allocations: 4 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3029, allocations: 0 / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.91e-05/0.303, allocations: 81.83 kB / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.93e-05/0.3031, allocations: 89.06 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.3031, allocations: 15.95 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.14e-05/0.3031, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-06/0.3031, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.3031, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001184/0.3033, allocations: 136.3 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3033, allocations: 0 / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001994/0.3035, allocations: 12 kB / 1.171 GB, free: 2.246 MB / 0.92 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.0004302/0.3039, allocations: 0.6209 MB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.09e-05/0.304, allocations: 19.98 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.304, allocations: 0 / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.488e-05/0.304, allocations: 11.94 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.3042, allocations: 12.22 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.3056, allocations: 1.396 MB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.306, allocations: 0.7002 MB / 1.173 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.635e-05/0.306, allocations: 12.55 kB / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.3061, allocations: 27.44 kB / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.3061, allocations: 0 / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.3281, allocations: 1.743 MB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.31, allocations: 8.719 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches