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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 111.3 kB / 17.96 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 192.4 kB / 21.22 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 249.9 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.7 MB / 0.7635 GB, free: 10.17 MB / 0.6231 GB " [Timeout remaining time 177] 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.To_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 71.91 kB / 1.108 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7931/0.7953, allocations: 168.7 MB / 1.272 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002191/0.7975, allocations: 0.8415 MB / 1.273 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001285/0.7976, allocations: 35.8 kB / 1.273 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.7977, allocations: 4 kB / 1.273 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.145e-05/0.7977, allocations: 11.86 kB / 1.273 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.7978, allocations: 11.92 kB / 1.273 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.739e-05/0.7979, allocations: 15.98 kB / 1.273 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.798, allocations: 71.77 kB / 1.273 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.7982, allocations: 27.94 kB / 1.273 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.7982, allocations: 23.88 kB / 1.273 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.7983, allocations: 35.84 kB / 1.273 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.7983, allocations: 4 kB / 1.273 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.7983, allocations: 8 kB / 1.273 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.7983, allocations: 15.92 kB / 1.273 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.7984, allocations: 27.81 kB / 1.273 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.7985, allocations: 81.34 kB / 1.274 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7985, allocations: 0 / 1.274 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.998e-06/0.7985, allocations: 4 kB / 1.274 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7985, allocations: 0 / 1.274 GB, free: 3.176 MB / 0.9669 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.0004905/0.799, allocations: 379.1 kB / 1.274 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.7991, allocations: 12.03 kB / 1.274 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.7991, allocations: 38.73 kB / 1.274 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.7991, allocations: 16.84 kB / 1.274 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.7994, allocations: 196.1 kB / 1.274 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.7994, allocations: 8.375 kB / 1.274 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.7994, allocations: 8.375 kB / 1.274 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.7996, allocations: 94.08 kB / 1.274 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7996, allocations: 7.938 kB / 1.274 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.7996, allocations: 4 kB / 1.274 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.7996, allocations: 3.984 kB / 1.274 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.757e-05/0.7997, allocations: 39.91 kB / 1.274 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.8002, allocations: 436.6 kB / 1.275 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.943e-05/0.8003, allocations: 45.28 kB / 1.275 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.8004, allocations: 21.84 kB / 1.275 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.8004, allocations: 0 / 1.275 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.8004, allocations: 34.55 kB / 1.275 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.8004, allocations: 0 / 1.275 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001896/0.8006, allocations: 57.53 kB / 1.275 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.8006, allocations: 81.11 kB / 1.275 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.8008, allocations: 159.5 kB / 1.275 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.8008, allocations: 29.64 kB / 1.275 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.8009, allocations: 104.1 kB / 1.275 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.687e-06/0.8009, allocations: 3.953 kB / 1.275 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.8009, allocations: 17.67 kB / 1.275 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.8011, allocations: 327.1 kB / 1.276 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.8011, allocations: 4 kB / 1.276 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.8011, allocations: 21.72 kB / 1.276 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/0.8012, allocations: 29.64 kB / 1.276 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8012, allocations: 0 / 1.276 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.786e-05/0.8013, allocations: 53.59 kB / 1.276 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.8013, allocations: 16 kB / 1.276 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8013, allocations: 0 / 1.276 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.8013, allocations: 0 / 1.276 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/0.8014, allocations: 11.98 kB / 1.276 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8014, allocations: 4 kB / 1.276 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.81e-05/0.8014, allocations: 3.938 kB / 1.276 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.8014, allocations: 4 kB / 1.276 GB, free: 0.6758 MB / 0.9669 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.165e-05/0.8015, allocations: 114.7 kB / 1.276 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.8016, allocations: 11.89 kB / 1.276 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.8016, allocations: 15.86 kB / 1.276 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8016, allocations: 0 / 1.276 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.8016, allocations: 4 kB / 1.276 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.8016, allocations: 0 / 1.276 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.8021, allocations: 474.7 kB / 1.276 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8021, allocations: 0 / 1.276 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.8021, allocations: 4.047 kB / 1.276 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8022, allocations: 3.938 kB / 1.276 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.8022, allocations: 8.062 kB / 1.276 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8022, allocations: 0 / 1.276 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.8022, allocations: 0 / 1.276 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.8023, allocations: 81.83 kB / 1.276 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.8023, allocations: 85.06 kB / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.8024, allocations: 4 kB / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.305e-05/0.8024, allocations: 8.016 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.8024, allocations: 3.938 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.8024, allocations: 0 / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001104/0.8025, allocations: 121.1 kB / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8025, allocations: 0 / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001923/0.8027, allocations: 12 kB / 1.277 GB, free: 15.64 MB / 0.9825 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.0004719/0.8032, allocations: 0.6138 MB / 1.277 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.8033, allocations: 15.94 kB / 1.277 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8033, allocations: 0 / 1.277 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-05/0.8033, allocations: 8 kB / 1.277 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.8035, allocations: 15.84 kB / 1.277 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.8049, allocations: 1.346 MB / 1.279 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.8052, allocations: 0.6928 MB / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.152e-05/0.8053, allocations: 4.438 kB / 1.279 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.8053, allocations: 27.42 kB / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of SimCode: time 9.22e-07/0.8053, allocations: 4 kB / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.8296, allocations: 1.557 MB / 1.281 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.808, allocations: 20 kB / 1.281 GB, free: 11.26 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 14.93724218592979]