Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001082/0.001082, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 187.9 kB / 16.66 MB, free: 6.582 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.541/2.541, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 71.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2615, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001848/0.2634, allocations: 0.8235 MB / 1.167 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001217/0.2635, allocations: 43.78 kB / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.2636, allocations: 0 / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.379e-05/0.2637, allocations: 11.86 kB / 1.167 GB, free: 6.379 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.02e-05/0.2637, allocations: 15.81 kB / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.632e-05/0.2638, allocations: 19.98 kB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.369e-05/0.2639, allocations: 51.91 kB / 1.167 GB, free: 6.293 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.264, allocations: 47.97 kB / 1.167 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.978e-05/0.2641, allocations: 27.81 kB / 1.167 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.74e-05/0.2642, allocations: 35.78 kB / 1.167 GB, free: 6.184 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2642, allocations: 4 kB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.749e-06/0.2642, allocations: 8 kB / 1.167 GB, free: 6.172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.2642, allocations: 11.92 kB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.2643, allocations: 39.8 kB / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.2644, allocations: 75.81 kB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2644, allocations: 4 kB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2644, allocations: 0 / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2644, allocations: 0 / 1.167 GB, free: 6.043 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.0004043/0.2648, allocations: 383.1 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2649, allocations: 8.031 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.2649, allocations: 38.75 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.2649, allocations: 12.84 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.2651, allocations: 200.2 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2652, allocations: 12.31 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2652, allocations: 4.375 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.2653, allocations: 97.61 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2654, allocations: 3.938 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2654, allocations: 4 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2654, allocations: 4 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.2655, allocations: 31.92 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.266, allocations: 440.7 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.808e-05/0.266, allocations: 37.19 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.2661, allocations: 21.84 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.2661, allocations: 7.938 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.2661, allocations: 30.56 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.2661, allocations: 0 / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001669/0.2663, allocations: 61.52 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2663, allocations: 77.11 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.2665, allocations: 160.7 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.2665, allocations: 29.7 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.2665, allocations: 100.1 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/0.2666, allocations: 11.89 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.2666, allocations: 13.72 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.2667, allocations: 322.8 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.2667, allocations: 8 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/0.2667, allocations: 17.72 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.036e-05/0.2668, allocations: 37.64 kB / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2668, allocations: 0 / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.36e-05/0.2669, allocations: 61.55 kB / 1.169 GB, free: 3.582 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2669, allocations: 7.938 kB / 1.169 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2669, allocations: 0 / 1.169 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2669, allocations: 0 / 1.169 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.267, allocations: 11.98 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.267, allocations: 0 / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.267, allocations: 4.062 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2671, allocations: 8 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 6.355e-05/0.2671, allocations: 109.8 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.2672, allocations: 11.89 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.2672, allocations: 11.81 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2672, allocations: 4 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2672, allocations: 0 / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2672, allocations: 3.984 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.2676, allocations: 482.7 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2676, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.2676, allocations: 4 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2676, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.2676, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2676, allocations: 4 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.2676, allocations: 3.938 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.519e-05/0.2677, allocations: 81.94 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.2678, allocations: 89.06 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.2678, allocations: 0 / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.2678, allocations: 0 / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.2678, allocations: 3.984 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2678, allocations: 4 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.126e-05/0.2679, allocations: 124.7 kB / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2679, allocations: 0 / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001921/0.2681, allocations: 7.938 kB / 1.17 GB, free: 2.508 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.0003279/0.2685, allocations: 0.6171 MB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.919e-05/0.2686, allocations: 31.95 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2686, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.2686, 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.0001519/0.2687, allocations: 8 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.2698, allocations: 1.331 MB / 1.172 GB, free: 396 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.27, allocations: 0.6929 MB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.2701, allocations: 12.41 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.2701, allocations: 27.42 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.2701, allocations: 0 / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.2858, allocations: 1.57 MB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.257/7.543, allocations: 13.31 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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_To_Btu.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches