Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.635/1.635, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.894/2.894, allocations: 476.7 MB / 0.7678 GB, free: 9.398 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.89 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002091/1.012, allocations: 0.8311 MB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001166/1.012, allocations: 40.78 kB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/1.012, allocations: 1.469 kB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/1.012, allocations: 9.281 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.092e-05/1.012, allocations: 11.25 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.773e-05/1.012, allocations: 15.78 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/1.013, allocations: 67.47 kB / 1.28 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/1.013, allocations: 35.23 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/1.013, allocations: 28.36 kB / 1.28 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/1.013, allocations: 30.3 kB / 1.28 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/1.013, allocations: 6.562 kB / 1.28 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/1.013, allocations: 5.656 kB / 1.28 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/1.013, allocations: 16.36 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/1.013, allocations: 32.52 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/1.013, allocations: 81.91 kB / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/1.013, allocations: 0 / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/1.013, allocations: 0 / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.38e-06/1.013, allocations: 0 / 1.28 GB, free: 10.98 MB / 0.9981 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.000474/1.014, allocations: 386.2 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/1.014, allocations: 9.594 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.253e-05/1.014, allocations: 1.344 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/1.014, allocations: 39.69 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/1.014, allocations: 8.984 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/1.014, allocations: 200.5 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/1.014, allocations: 3.281 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/1.014, allocations: 13.88 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/1.014, allocations: 94.16 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/1.014, allocations: 3.938 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/1.014, allocations: 5.125 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/1.014, allocations: 6.109 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.493e-05/1.014, allocations: 40.41 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/1.015, allocations: 434.6 kB / 1.281 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.388e-05/1.015, allocations: 45.62 kB / 1.281 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/1.015, allocations: 15.91 kB / 1.281 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/1.015, allocations: 1.062 kB / 1.281 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/1.015, allocations: 40.2 kB / 1.281 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.015, allocations: 0 / 1.281 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001729/1.015, allocations: 56.56 kB / 1.281 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/1.015, allocations: 78.91 kB / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/1.015, allocations: 156.7 kB / 1.282 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/1.015, allocations: 30.8 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/1.015, allocations: 108.3 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/1.015, allocations: 16.78 kB / 1.282 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/1.015, allocations: 18.91 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.016, allocations: 319.7 kB / 1.282 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/1.016, allocations: 4.422 kB / 1.282 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/1.016, allocations: 18.95 kB / 1.282 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/1.016, allocations: 23.42 kB / 1.282 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.016, allocations: 4 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.173e-05/1.016, allocations: 62.44 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.016, allocations: 9.125 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.016, allocations: 1.062 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/1.016, allocations: 0.8438 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/1.016, allocations: 6.938 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/1.016, allocations: 0 / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/1.016, allocations: 11.08 kB / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/1.016, allocations: 1.938 kB / 1.282 GB, free: 8.852 MB / 0.9981 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.67e-05/1.016, allocations: 117.9 kB / 1.282 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/1.016, allocations: 16.2 kB / 1.282 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/1.016, allocations: 12.11 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.016, allocations: 1.062 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.016, allocations: 1.156 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.016, allocations: 1.922 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/1.016, allocations: 469.7 kB / 1.283 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.016, allocations: 4.719 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/1.016, allocations: 3.703 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.016, allocations: 1.062 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/1.016, allocations: 5.625 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.016, allocations: 0 / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.016, allocations: 1.672 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.262e-05/1.017, allocations: 85.12 kB / 1.283 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/1.017, allocations: 89.12 kB / 1.283 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/1.017, allocations: 2.312 kB / 1.283 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.148e-05/1.017, allocations: 0.75 kB / 1.283 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/1.017, allocations: 5.734 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/1.017, allocations: 1.844 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001013/1.017, allocations: 121.5 kB / 1.283 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.017, allocations: 1.094 kB / 1.283 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001963/1.017, allocations: 10.83 kB / 1.283 GB, free: 7.926 MB / 0.9981 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.0004363/1.017, allocations: 0.6157 MB / 1.284 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001027/1.018, allocations: 19.44 kB / 1.284 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.018, allocations: 5 kB / 1.284 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.411e-05/1.018, allocations: 3.984 kB / 1.284 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/1.018, allocations: 10.44 kB / 1.284 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/1.019, allocations: 1.321 MB / 1.285 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/1.019, allocations: 0.6963 MB / 1.286 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.436e-05/1.019, allocations: 7.594 kB / 1.286 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/1.02, allocations: 25.69 kB / 1.286 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.02, allocations: 0 / 1.286 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/1.037, allocations: 1.629 MB / 1.287 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.538/9.575, allocations: 26.28 kB / 1.287 GB, free: 4.934 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.10013523400994]