Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.008136/0.008136, allocations: 101 kB / 15.73 MB, free: 6.059 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.002242/0.002242, allocations: 193.8 kB / 16.67 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.763/2.763, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 71.91 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8624/0.8644, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00242/0.8668, allocations: 0.8273 MB / 1.221 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001366/0.867, allocations: 39.73 kB / 1.221 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.8671, allocations: 4 kB / 1.221 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.694e-05/0.8672, allocations: 7.875 kB / 1.221 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.8673, allocations: 3.938 kB / 1.221 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.954e-05/0.8673, allocations: 23.92 kB / 1.221 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.8675, allocations: 67.81 kB / 1.221 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.8677, allocations: 51.86 kB / 1.221 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.043e-05/0.8678, allocations: 23.86 kB / 1.221 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.8679, allocations: 27.86 kB / 1.221 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.8679, allocations: 4 kB / 1.221 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.8679, allocations: 8 kB / 1.221 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.868, allocations: 15.92 kB / 1.221 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.8681, allocations: 35.75 kB / 1.221 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.8682, allocations: 67.36 kB / 1.221 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.8682, allocations: 8 kB / 1.221 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8682, allocations: 3.938 kB / 1.221 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.8683, allocations: 3.984 kB / 1.221 GB, free: 0.8438 MB / 0.9356 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.0005866/0.8688, allocations: 379.2 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.8689, allocations: 8.031 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.869, allocations: 42.73 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.869, allocations: 12.84 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.8692, allocations: 192.1 kB / 1.222 GB, free: 128 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.8693, allocations: 4.375 kB / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.8693, allocations: 12.38 kB / 1.222 GB, free: 112 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.8694, allocations: 99.84 kB / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.8695, allocations: 208 / 1.222 GB, free: 16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.8695, allocations: 11.86 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.8695, allocations: 4 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/0.8696, allocations: 31.98 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.8702, allocations: 436.6 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.8e-05/0.8703, allocations: 45.28 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.8703, allocations: 17.84 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.8703, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.8704, allocations: 46.48 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.8704, allocations: 0 / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000181/0.8705, allocations: 53.59 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.8706, allocations: 81.05 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.8708, allocations: 160.7 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.8708, allocations: 29.64 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.8709, allocations: 100.1 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.8709, allocations: 8.203 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.8709, allocations: 21.67 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.8711, allocations: 322.8 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.8712, allocations: 4 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.987e-05/0.8712, allocations: 21.7 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/0.8712, allocations: 25.72 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8713, allocations: 4 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.554e-05/0.8713, allocations: 61.53 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.8714, allocations: 5.875 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.8714, allocations: 3.938 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.8714, allocations: 0 / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.8715, allocations: 11.98 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.8715, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.8715, allocations: 3.938 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.8715, allocations: 4 kB / 1.224 GB, free: 14.35 MB / 0.9512 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.588e-05/0.8716, allocations: 121.8 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.8717, allocations: 7.953 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.8717, allocations: 15.8 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.8717, allocations: 4 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8717, allocations: 0 / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8717, allocations: 0 / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.8722, allocations: 478.7 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8722, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.8722, allocations: 4 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8722, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.8722, allocations: 4 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8723, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8723, allocations: 4 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.8724, allocations: 85.88 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.8724, allocations: 85.06 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.8725, allocations: 4 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.8725, allocations: 3.984 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.8725, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.8725, allocations: 4 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001095/0.8726, allocations: 121.9 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8726, allocations: 0 / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001819/0.8728, allocations: 4 kB / 1.224 GB, free: 13.3 MB / 0.9512 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.0004712/0.8733, allocations: 0.6177 MB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.8734, allocations: 23.88 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8734, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.8734, allocations: 8.156 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.8736, allocations: 8 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.875, allocations: 1.334 MB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.8754, allocations: 0.6963 MB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.8754, allocations: 4.531 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.8755, allocations: 27.42 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8755, allocations: 0 / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.8993, allocations: 1.595 MB / 1.229 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/8.668, allocations: 6.438 kB / 1.229 GB, free: 8.957 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches