Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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 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_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_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.004232/0.004232, allocations: 103.2 kB / 15.74 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.001241/0.001241, allocations: 188.9 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.851/2.851, allocations: 437 MB / 0.7105 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2809, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002124/0.2831, allocations: 0.8275 MB / 1.167 GB, free: 6.457 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001477/0.2832, allocations: 43.78 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.2833, allocations: 4 kB / 1.167 GB, free: 6.41 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.466e-05/0.2834, allocations: 11.86 kB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.2835, allocations: 11.88 kB / 1.167 GB, free: 6.387 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.09e-05/0.2835, allocations: 19.98 kB / 1.167 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.2836, allocations: 59.83 kB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2838, allocations: 35.98 kB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.856e-05/0.2838, allocations: 31.86 kB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.653e-05/0.2839, allocations: 35.78 kB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.2839, allocations: 4 kB / 1.167 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.284, allocations: 8 kB / 1.167 GB, free: 6.195 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.284, allocations: 11.94 kB / 1.167 GB, free: 6.184 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.284, allocations: 35.8 kB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.2842, allocations: 71.86 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2842, allocations: 0 / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2842, allocations: 4 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2842, allocations: 0 / 1.167 GB, free: 6.074 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.0004805/0.2847, allocations: 387 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2847, allocations: 12.03 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.2848, allocations: 42.69 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.2848, allocations: 16.84 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.285, allocations: 192.2 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.285, allocations: 4.375 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.2851, allocations: 12.31 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.2852, allocations: 99.89 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2853, allocations: 3.938 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.2853, allocations: 0 / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2853, allocations: 0 / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.082e-05/0.2854, allocations: 35.98 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.286, allocations: 444.6 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.921e-05/0.2861, allocations: 41.16 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.2861, allocations: 21.88 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.2861, allocations: 0 / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.2862, allocations: 34.56 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.2862, allocations: 0 / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001806/0.2864, allocations: 65.52 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.2864, allocations: 77.11 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.2866, allocations: 159.3 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.2866, allocations: 25.7 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.2867, allocations: 100.1 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.2867, allocations: 7.891 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.2868, allocations: 17.72 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2869, allocations: 327.1 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.2869, allocations: 4 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.287, allocations: 17.72 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.512e-05/0.287, allocations: 25.66 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.287, allocations: 0 / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001109/0.2871, allocations: 69.62 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2872, allocations: 14.06 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2872, allocations: 0 / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2872, allocations: 0 / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.2873, allocations: 11.94 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2873, allocations: 0 / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.2873, allocations: 0 / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.2873, allocations: 4 kB / 1.17 GB, free: 3.578 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.671e-05/0.2874, allocations: 117.8 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.2875, allocations: 11.89 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.2875, allocations: 11.91 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2875, allocations: 4 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2875, allocations: 0 / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2875, allocations: 0 / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.288, allocations: 470.7 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.288, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.288, allocations: 15.92 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.288, allocations: 4.062 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.288, allocations: 0 / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.288, allocations: 0 / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.288, allocations: 4 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.301e-05/0.2881, allocations: 81.83 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.2882, allocations: 85.05 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.2882, allocations: 4.031 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.048e-05/0.2883, allocations: 4 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.2883, allocations: 4 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.2883, allocations: 4 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001049/0.2884, allocations: 117.9 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2884, allocations: 4 kB / 1.17 GB, free: 2.539 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001945/0.2886, allocations: 7.938 kB / 1.17 GB, free: 2.531 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.0004342/0.289, allocations: 0.621 MB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.396e-05/0.2891, allocations: 23.98 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2891, allocations: 0 / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.2892, allocations: 7.938 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.2893, allocations: 8.281 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.2906, allocations: 1.331 MB / 1.172 GB, free: 420 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.291, allocations: 0.6923 MB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.291, allocations: 8.422 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.2911, allocations: 23.44 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.2911, allocations: 3.938 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.3146, allocations: 1.576 MB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.857/9.171, allocations: 13.77 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches