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.007978/0.007978, allocations: 100.7 kB / 15.73 MB, free: 6.008 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.0017/0.0017, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.524/2.524, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 68.11 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.986/0.9874, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002185/0.9896, allocations: 0.8271 MB / 1.167 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001374/0.9898, allocations: 39.84 kB / 1.167 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.9898, allocations: 0 / 1.167 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.334e-05/0.9899, allocations: 11.86 kB / 1.167 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.463e-05/0.99, allocations: 7.875 kB / 1.167 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.419e-05/0.9901, allocations: 19.98 kB / 1.167 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.9902, allocations: 59.84 kB / 1.167 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.9903, allocations: 43.98 kB / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.516e-05/0.9904, allocations: 27.84 kB / 1.167 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.9905, allocations: 35.78 kB / 1.167 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.9905, allocations: 8 kB / 1.167 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.9905, allocations: 8 kB / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.9906, allocations: 11.94 kB / 1.167 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.9906, allocations: 31.8 kB / 1.167 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.9908, allocations: 81.89 kB / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9908, allocations: 0 / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9908, allocations: 0 / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.9908, allocations: 0 / 1.167 GB, free: 2.566 MB / 0.8887 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.0004979/0.9913, allocations: 383.1 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 8.287e-05/0.9914, allocations: 8.922 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.468e-05/0.9914, allocations: 42.75 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.9915, allocations: 8.844 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.9917, allocations: 196.1 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.9918, allocations: 12.31 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.9918, allocations: 4.375 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.9919, allocations: 90.39 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.992, allocations: 11.86 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.992, allocations: 4 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.992, allocations: 4 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.473e-05/0.9921, allocations: 39.92 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.9926, allocations: 432.6 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.994e-05/0.9927, allocations: 45.25 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.9927, allocations: 21.78 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.9928, allocations: 4 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.9928, allocations: 30.56 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.9928, allocations: 0 / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001739/0.993, allocations: 57.47 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.993, allocations: 77.36 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.9932, allocations: 164.9 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.9932, allocations: 29.7 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.9933, allocations: 104 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.9933, allocations: 11.89 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.9933, allocations: 13.72 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.9934, allocations: 318.8 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.9934, allocations: 8 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/0.9935, allocations: 21.66 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.211e-05/0.9935, allocations: 29.72 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9935, allocations: 0 / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.697e-05/0.9936, allocations: 57.53 kB / 1.169 GB, free: 116 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.9936, allocations: 7.938 kB / 1.169 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.9937, allocations: 4 kB / 1.169 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.9937, allocations: 0 / 1.169 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.9937, allocations: 8.062 kB / 1.169 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.9938, allocations: 3.984 kB / 1.169 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.9938, allocations: 15.84 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.9938, allocations: 0 / 1.17 GB, free: 76 kB / 0.8887 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 9.824e-05/0.9939, allocations: 117.8 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.994, allocations: 11.84 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.994, allocations: 7.875 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.994, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.994, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.994, allocations: 8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.9944, allocations: 466.8 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.9944, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.9944, allocations: 3.984 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.9944, allocations: 4 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.9945, allocations: 7.938 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9945, allocations: 3.938 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.9945, allocations: 4.062 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.494e-05/0.9946, allocations: 73.84 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.9946, allocations: 96.94 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.9946, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/0.9947, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.9947, allocations: 4 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.9947, allocations: 4.031 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.859e-05/0.9948, allocations: 121.9 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9948, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001929/0.995, allocations: 11.91 kB / 1.17 GB, free: 15.02 MB / 0.9044 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.0004011/0.9954, allocations: 0.621 MB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.073e-05/0.9955, allocations: 19.92 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9955, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.229e-05/0.9955, allocations: 8 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.9957, allocations: 4 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.9969, allocations: 1.338 MB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.9971, allocations: 0.6885 MB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.9972, allocations: 8.422 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.9972, allocations: 23.44 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.9972, allocations: 0 / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/1.016, allocations: 1.576 MB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/8.574, allocations: 19.16 kB / 1.175 GB, free: 10.66 MB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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