Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_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.0009304/0.0009306, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005902/0.005902, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.545/2.545, allocations: 443.4 MB / 0.7176 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 8.688 kB / 0.8797 GB, free: 41.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2803, allocations: 155.2 MB / 1.031 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001032/0.2814, allocations: 0.5381 MB / 1.032 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.2815, allocations: 43.78 kB / 1.032 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.2816, allocations: 0 / 1.032 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.2816, allocations: 3.938 kB / 1.032 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.525e-05/0.2817, allocations: 7.922 kB / 1.032 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.068e-05/0.2818, allocations: 16 kB / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.2819, allocations: 59.75 kB / 1.032 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.2821, allocations: 43.97 kB / 1.032 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.258e-05/0.2822, allocations: 11.88 kB / 1.032 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.2822, allocations: 27.78 kB / 1.032 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.2822, allocations: 7.938 kB / 1.032 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.2823, allocations: 4 kB / 1.032 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.2823, allocations: 11.92 kB / 1.032 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.2824, allocations: 49.52 kB / 1.032 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.2825, allocations: 63.97 kB / 1.032 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.2825, allocations: 4 kB / 1.032 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.248e-06/0.2825, allocations: 0 / 1.032 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.2825, allocations: 3.938 kB / 1.032 GB, free: 3.371 MB / 0.7794 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.0004644/0.283, allocations: 367.3 kB / 1.032 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.2831, allocations: 8.031 kB / 1.032 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.2831, allocations: 42.75 kB / 1.033 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.2831, allocations: 8.844 kB / 1.033 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.2834, allocations: 196.1 kB / 1.033 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2834, allocations: 4.375 kB / 1.033 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.2834, allocations: 8.375 kB / 1.033 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.2836, allocations: 93.61 kB / 1.033 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2836, allocations: 3.938 kB / 1.033 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2836, allocations: 4 kB / 1.033 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2836, allocations: 8 kB / 1.033 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.636e-05/0.2837, allocations: 35.92 kB / 1.033 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.2842, allocations: 436.5 kB / 1.033 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/0.2843, allocations: 41.28 kB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.2843, allocations: 17.84 kB / 1.033 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.2843, allocations: 4 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2843, allocations: 34.56 kB / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2843, allocations: 0 / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001496/0.2845, allocations: 61.56 kB / 1.033 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2845, allocations: 81.11 kB / 1.034 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2847, allocations: 161.1 kB / 1.034 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2847, allocations: 29.7 kB / 1.034 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.2848, allocations: 107.9 kB / 1.034 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-06/0.2848, allocations: 0 / 1.034 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.2848, allocations: 9.719 kB / 1.034 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.2849, allocations: 326.8 kB / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.2849, allocations: 12.16 kB / 1.034 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.866e-05/0.285, allocations: 13.72 kB / 1.034 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.285, allocations: 26.28 kB / 1.034 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.285, allocations: 0 / 1.034 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.041e-05/0.2851, allocations: 61.53 kB / 1.034 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2851, allocations: 11.88 kB / 1.034 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2851, allocations: 4.062 kB / 1.034 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2851, allocations: 0 / 1.034 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.397e-05/0.2852, allocations: 8 kB / 1.034 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2852, allocations: 0 / 1.034 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.2852, allocations: 7.844 kB / 1.034 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.2852, allocations: 4 kB / 1.034 GB, free: 0.9102 MB / 0.7794 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.425e-05/0.2853, allocations: 121.8 kB / 1.034 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.2854, allocations: 11.84 kB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.92e-05/0.2854, allocations: 7.875 kB / 1.034 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2854, allocations: 8 kB / 1.034 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2854, allocations: 3.938 kB / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.2854, allocations: 0 / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.2858, allocations: 470.8 kB / 1.035 GB, free: 232 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2858, allocations: 0 / 1.035 GB, free: 232 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/0.2858, allocations: 11.92 kB / 1.035 GB, free: 220 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2858, allocations: 4.031 kB / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.2859, allocations: 8.047 kB / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2859, allocations: 0 / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2859, allocations: 4 kB / 1.035 GB, free: 204 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.884e-05/0.286, allocations: 73.84 kB / 1.035 GB, free: 108 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.286, allocations: 89 kB / 1.035 GB, free: 0 / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.286, allocations: 4.047 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.2861, allocations: 0 / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.2861, allocations: 4.031 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.2861, allocations: 4 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.2862, allocations: 120.8 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2862, allocations: 0 / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001784/0.2864, allocations: 11.91 kB / 1.035 GB, free: 15.86 MB / 0.795 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.000374/0.2867, allocations: 0.621 MB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.405e-05/0.2868, allocations: 19.92 kB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2868, allocations: 0 / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-06/0.2869, allocations: 4 kB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.287, allocations: 8 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.2881, allocations: 1.344 MB / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.2883, allocations: 0.6965 MB / 1.038 GB, free: 13 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.2884, allocations: 8.422 kB / 1.038 GB, free: 12.99 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.2884, allocations: 27.42 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.2884, allocations: 0 / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009871/0.2983, allocations: 1.361 MB / 1.039 GB, free: 11.75 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.2985, allocations: 216 kB / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.96, allocations: 0 / 1.039 GB, free: 11.49 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches