Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.From_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.009252/0.009252, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002181/0.002181, allocations: 202.7 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 2.459/2.459, allocations: 222.9 MB / 240.4 MB, free: 4.34 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 3.975/3.975, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002614, allocations: 63.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5051, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.003529/0.5087, allocations: 0.8233 MB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001536/0.5089, allocations: 47.78 kB / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.5089, allocations: 0 / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.39e-05/0.509, allocations: 7.875 kB / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.5091, allocations: 7.938 kB / 1.167 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.605e-05/0.5092, allocations: 27.91 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.5094, allocations: 59.78 kB / 1.167 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.5096, allocations: 43.97 kB / 1.167 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.5097, allocations: 27.86 kB / 1.167 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/0.5098, allocations: 27.8 kB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.5098, allocations: 8 kB / 1.167 GB, free: 6.184 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.5098, allocations: 4 kB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.5099, allocations: 19.92 kB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.5099, allocations: 35.81 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.5101, allocations: 79.78 kB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5101, allocations: 0 / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5102, allocations: 0 / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.5102, allocations: 0 / 1.167 GB, free: 6.047 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006284/0.5108, allocations: 379.1 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.5109, allocations: 12.03 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.167e-05/0.5109, allocations: 46.73 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.511, allocations: 12.84 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.5113, allocations: 200.1 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.5114, allocations: 4.375 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.5114, allocations: 8.375 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.5117, allocations: 93.81 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.5117, allocations: 7.938 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.5117, allocations: 3.938 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5117, allocations: 0 / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.5119, allocations: 43.91 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/0.5127, allocations: 436.6 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.834e-05/0.5128, allocations: 41.28 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.5128, allocations: 21.83 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-06/0.5129, allocations: 4 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.5129, allocations: 34.56 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.5129, allocations: 0 / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002756/0.5132, allocations: 57.53 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.5133, allocations: 77.11 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.5136, allocations: 160.3 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.5136, allocations: 33.89 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.5137, allocations: 100.1 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.5137, allocations: 7.891 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.5138, allocations: 17.72 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002338/0.5141, allocations: 322.8 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.5141, allocations: 3.938 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.063e-05/0.5141, allocations: 25.7 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.77e-05/0.5142, allocations: 25.72 kB / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5142, allocations: 0 / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000135/0.5144, allocations: 65.53 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.5144, allocations: 11.94 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5144, allocations: 0 / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.5145, allocations: 0 / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.5146, allocations: 4 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.5146, allocations: 4 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.5146, allocations: 4.062 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.5146, allocations: 4 kB / 1.17 GB, free: 3.551 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 0.0001503/0.5148, allocations: 113.8 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.5149, allocations: 11.89 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.5149, allocations: 15.86 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.5149, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.515, allocations: 4 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.515, allocations: 0 / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006435/0.5156, allocations: 478.7 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5156, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.5157, allocations: 4 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5157, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.5157, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.5157, allocations: 4 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5157, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.5159, allocations: 89.94 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.516, allocations: 85.05 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.516, allocations: 4 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.813e-05/0.516, allocations: 0 / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.5161, allocations: 7.938 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.5161, allocations: 0 / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001492/0.5162, allocations: 120.7 kB / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5163, allocations: 4.031 kB / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002976/0.5166, allocations: 11.94 kB / 1.17 GB, free: 2.5 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.0005876/0.5172, allocations: 0.6132 MB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.5173, allocations: 23.97 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5173, allocations: 4 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.401e-05/0.5174, allocations: 4 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.5176, allocations: 4 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.5195, allocations: 1.335 MB / 1.172 GB, free: 396 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.52, allocations: 0.7007 MB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.314e-05/0.52, allocations: 4.438 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.5201, allocations: 27.42 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/0.5201, allocations: 0 / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.5533, allocations: 1.58 MB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.81, allocations: 14.62 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_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_From_Btu.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches