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.006311/0.006311, 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.001278/0.001278, allocations: 201.5 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.446/1.446, 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 2.639/2.639, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3275, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002114/0.3296, allocations: 0.8272 MB / 1.167 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001399/0.3298, allocations: 43.8 kB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.3299, allocations: 8 kB / 1.167 GB, free: 6.395 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.374e-05/0.3299, allocations: 7.875 kB / 1.167 GB, free: 6.387 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.095e-05/0.33, allocations: 7.922 kB / 1.167 GB, free: 6.379 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.471e-05/0.3301, allocations: 23.97 kB / 1.167 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.3302, allocations: 67.72 kB / 1.167 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.3304, allocations: 39.98 kB / 1.167 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.3304, allocations: 27.86 kB / 1.167 GB, free: 6.223 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.176e-05/0.3305, allocations: 27.8 kB / 1.167 GB, free: 6.195 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3305, allocations: 4 kB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.3305, allocations: 8 kB / 1.167 GB, free: 6.184 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.3306, allocations: 15.92 kB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.3306, allocations: 35.75 kB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.3307, allocations: 79.84 kB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3308, allocations: 0 / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3308, allocations: 4 kB / 1.167 GB, free: 6.051 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3308, allocations: 0 / 1.167 GB, free: 6.051 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.0004546/0.3312, allocations: 383.1 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3313, allocations: 8.031 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.3313, allocations: 42.73 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.3314, allocations: 12.84 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.3316, allocations: 188.2 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.3316, allocations: 4.375 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3316, allocations: 8.375 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3318, allocations: 99.94 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3318, allocations: 3.938 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3319, allocations: 0 / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3319, allocations: 7.938 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.686e-05/0.332, allocations: 35.92 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.3326, allocations: 440.6 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.326e-05/0.3326, allocations: 37.41 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.3327, allocations: 21.7 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.834e-06/0.3327, allocations: 0 / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3327, allocations: 42.56 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3327, allocations: 0 / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001826/0.3329, allocations: 57.53 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.333, allocations: 81.05 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.3331, allocations: 160.1 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.3331, allocations: 25.7 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.3332, allocations: 100.1 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.3332, allocations: 8.141 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.3333, allocations: 21.72 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3334, allocations: 322.8 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.3334, allocations: 4 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.569e-05/0.3335, allocations: 25.64 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.061e-05/0.3335, allocations: 25.72 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3335, allocations: 4 kB / 1.169 GB, free: 3.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.836e-05/0.3336, allocations: 61.55 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3336, allocations: 11.92 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3336, allocations: 0 / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3336, allocations: 0 / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.3337, allocations: 8 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3337, allocations: 0 / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.3338, allocations: 0 / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.3338, allocations: 4 kB / 1.17 GB, free: 3.57 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 7.939e-05/0.3339, allocations: 121.8 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.3339, allocations: 11.89 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.3339, allocations: 11.86 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3339, allocations: 4.094 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.334, allocations: 0 / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.334, allocations: 3.984 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.3344, allocations: 474.7 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3344, allocations: 8 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.3345, allocations: 4 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3345, allocations: 0 / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3345, allocations: 0 / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3345, allocations: 0 / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3345, allocations: 4 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.42e-05/0.3346, allocations: 81.88 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.3346, allocations: 89.05 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.3347, allocations: 4 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.3347, allocations: 3.938 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.3347, allocations: 0 / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.3347, allocations: 4 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.182e-05/0.3348, allocations: 121.1 kB / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.3348, allocations: 0 / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001874/0.335, allocations: 7.938 kB / 1.17 GB, free: 2.52 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.0003601/0.3354, allocations: 0.6172 MB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.129e-05/0.3355, allocations: 23.94 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3355, allocations: 0 / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.16e-05/0.3355, allocations: 8.156 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.3356, allocations: 9.719 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.3369, allocations: 1.339 MB / 1.172 GB, free: 404 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.3372, allocations: 0.6928 MB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.3372, allocations: 8.438 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.3373, allocations: 27.42 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/0.3373, allocations: 0 / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.3554, allocations: 1.573 MB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/7.783, allocations: 8.594 kB / 1.175 GB, free: 14.16 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